Posted by agrigor1 on June 28, 2009 at 8:38pm
| Project: | Bibliography Module |
| Version: | 6.x-1.5 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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.
Comments
#1
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
#3
I've looked into this a bit, but still have nothing substantial to report. I will continue to look for a solution.
#4
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.
#5
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
I also tried it in another site with different theme
The result is the same. See the image
#7
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
OK, well that gives me a little more to work with. I'll see if I can reproduce the problem now.
Ron.
#9
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
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
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
Automatically closed -- issue fixed for 2 weeks with no activity.