We have run across some odd behavior that involves glossary auto linking.
We discovered that when we use certain keywords for glossary items strange things happen. Most keywords work just fine. However when we use 2.1 or 2.2 or 3.2 as keywords the screens in Firefox have a few extra characters thrown in. Like in the picture below.
It seems that only 2.1 (two dot one) 2.2 (two dot two) and 3.2 (three dot three) cause the odd tags to show up.
Has anyone else seen the problem? It should be easy enough to replicate. Just add a keyword "2.2" to a glossary item then browse to your front page. (if you have caching on it may take a few screen refreshes).
Does anyone have any idea why this may be happening? Can anyone tell me where even to begin looking, other than filterlib.php and markdown.php?
Any help would be useful.
In reply to Alex DePena
Re: Odd rendering problem in Firefox with Glossary Auto Linking
Wow,
good catch! filterlib (the common library for all the linking filters) uses some numbers of that type (2.1, 2.2...) internally, but they shouldn't affect final visualisation.
But obviously, something is buggy there. Going to take a look to that in MDL-18165 (thanks for creating it in the Tracker, Alex).
Ciao
good catch! filterlib (the common library for all the linking filters) uses some numbers of that type (2.1, 2.2...) internally, but they shouldn't affect final visualisation.
But obviously, something is buggy there. Going to take a look to that in MDL-18165 (thanks for creating it in the Tracker, Alex).
Ciao
In reply to Alex DePena
Re: Odd rendering problem in Firefox with Glossary Auto Linking
In reply to Eloy Lafuente (stronk7)
Re: Odd rendering problem in Firefox with Glossary Auto Linking
by Alex DePena -
I applied the updates from CVS today and it looks like it's all fixed. I want to thank our course designer Amanda and our admin. Lisa for helping isolate this bug.
Thanks Eloy!
Thanks Eloy!
In reply to Alex DePena
Re: Odd rendering problem in Firefox with Glossary Auto Linking
by Joseph Rézeau -
Alex
Just curious to know what use you might have for "2.2" etc. as keywords.
Joseph
Just curious to know what use you might have for "2.2" etc. as keywords.
Joseph
In reply to Joseph Rézeau
Re: Odd rendering problem in Firefox with Glossary Auto Linking
by Alex DePena -
Joseph,
I really do not know what the teacher had in mind when she used 2.2 as keywords. I would have never thought of using the numbers myself.
Alex
I really do not know what the teacher had in mind when she used 2.2 as keywords. I would have never thought of using the numbers myself.
Alex