The first [bib] or tag causes a line break (text continues in the next line). If there are more tags on the same sentence then these dont cause line break.

Why the first seems to have a problem? It destroys the layout of the text.

Please fix.

CommentFileSizeAuthor
#6 sample.jpg46.11 KBagrigor1
#4 504702a.jpg18.45 KBrjerome
#4 504702b.jpg14.38 KBrjerome
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

agrigor1’s picture

It seems it has to do with the Hovertips and Clicktips module. I had this enabled. When I disabled it the problem dissapeared, but I also lost the nice hovertips.
Do you have any idea how I could make them work together?

agrigor1’s picture

Title: The first [bib] causes a line break » The first [bib] causes a line break with hovertips enabled
rjerome’s picture

I've looked into this a bit, but still have nothing substantial to report. I will continue to look for a solution.

rjerome’s picture

FileSize
14.38 KB
18.45 KB

I can't seem to reproduce this issue, as you can see in the attached images, I have two [bib] tags in a sentence and it is not split and hovertip is active.

agrigor1’s picture

Status: Fixed » Active

Please have a look at http://...........
There are three references but the problem is always with the first.
For example I deleted the first so that the second became the first. The problem occured again.
Also I tried it on a clear page with only biblio filter activated (trying to exlucde confict with other input filters) and had no luck.

I chekced the source of the page generated and to be honest I cannot explain why I get this line break (but I am not an experienced programmer).

agrigor1’s picture

FileSize
46.11 KB

I also tried it in another site with different theme
The result is the same. See the image

agrigor1’s picture

I found it.
It seems that the problem comes out when the [bib] tags are inside a paragraph marked with the p tag.
I replaced the p tag with a div and the problem disappeared.

I still dont know if this is related to hovertip or the bib filter

rjerome’s picture

OK, well that gives me a little more to work with. I'll see if I can reproduce the problem now.

Ron.

rjerome’s picture

Status: Active » Fixed

OK, I just committed the fix for this issue, there were some divs surrounding the hovertip data, I changed them to spans and they now work properly even when enclosed in p tags.

http://drupal.org/cvs?commit=233118

Ron.

agrigor1’s picture

Thank you very much.

I dont know how the cvs system works.
Does this mean we will have a new version, something like 1.6?

rjerome’s picture

Status: Active » Fixed

Yes, the fix will show up in the 1.6 version when it's released (probably in about a week or so), or you could use the -dev version in the interim if you need the fix right away.

Ron.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.