further odd rendering issues in updated filterlib.php

further odd rendering issues in updated filterlib.php

by Alex DePena -
Number of replies: 2
The recent fix to filterlib.php fixed the issues of using numerical link tags. However, a new one has shown up.

The following image shows what is happening.


image


The code in the glossary entry is this:

<p><a href="/file.php/66/2009_CMS_MATERIALS/MASTER_-_Click_Guides/PDF/7A_NISD-CMS_Web_Guidelines__for_Outreach_Pages.pdf"><img class="icon" src="/theme/CMS-serenity/pix/f/pdf.gif" alt="File" /> 7A_NISD-CMS_Web_Guidelines_for_Outreach.pdf</a></p>
<p><a href="http://elearn.nisd.net/mod/resource/view.php?id=3562"><span class="nolink">7A VIDEO TUTORIAL</span></a></p>
<p></p>
<p>

The 'Keyword" for this entry is '7A'

What should be there instead of the <#1-%-o#> is "7A VIDEO TUTORIAL" as a hyperlink. Athough, the link is there, no one can tell what the link is.

The last problem had me confused this one has me befuddled.

Any Ideas?



Average of ratings: -
In reply to Alex DePena

Re: further odd rendering issues in updated filterlib.php

by Alex DePena -
Ok, It dawned on me that the <span="nolink"> tag does not belong there. In fact when I removed it (in html view) it began working fine. So now where did that tag come from? The auto-linking filter, or tinymce, or gremlins?

Why does filterlib.php handle the <span='nolink'> such that it displays <#1-%-o#> on the screen with a workable hyperlink?

I'ts been a looong day! :{
In reply to Alex DePena

Re: further odd rendering issues in updated filterlib.php

by Alex DePena -
The problem I reported shows a glossary keyword used as part of a web link.

The link '7A VIDEO TUTORIAL' contains the whole word keyword '7A'.

Is the <span='nolink'> supposed to work to keep the auto-linking filter from trying to make a glossary link?