The first [bib] causes a line break with hovertips enabled

agrigor1 - June 28, 2009 - 20:38
Project:Bibliography Module
Version:6.x-1.5
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

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.

#1

agrigor1 - June 28, 2009 - 21:37

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?

#2

agrigor1 - July 2, 2009 - 15:19
Title:The first [bib] causes a line break» The first [bib] causes a line break with hovertips enabled

#3

rjerome - July 2, 2009 - 15:45

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

#4

rjerome - July 3, 2009 - 01:22

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.

AttachmentSize
504702a.jpg 18.45 KB
504702b.jpg 14.38 KB

#5

agrigor1 - July 3, 2009 - 18:45

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).

#6

agrigor1 - July 3, 2009 - 09:11

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

AttachmentSize
sample.jpg 46.11 KB

#7

agrigor1 - July 3, 2009 - 11:28

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

#8

rjerome - July 3, 2009 - 14:17

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

Ron.

#9

rjerome - July 3, 2009 - 14:56
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.

#10

agrigor1 - July 3, 2009 - 18:39

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?

#11

rjerome - July 3, 2009 - 23:19

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.

#12

System Message - July 17, 2009 - 23:20
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.