[Pmwiki-users] Maybe a pmwiki bug?
Rene Pijlman
rene
Mon Aug 23 01:17:55 CDT 2004
John Rankin:
>I wanted to append a small icon after links to pages outside the wiki. The script
>avoids inserting the icon on links that use images and ThisPage: etc, but I have a
>strange problem. Any help or ideas would be much appreciated.
>
>The code uses a small graphic icon:
>
>$UrlLinkFmt =
> "<a class='url' href='\$Url'>\$LinkText" .
> "<sup><img src='$PubDirUrl/images/offsite.png' border='0' /></sup></a>";
>
>This works fine except when the link is at the end of a line.
>So this works:
>
> See http://www.pmwiki.org/ for more information.
>
>But this doesn't:
>
> For more information, see http://www.pmwiki.org/
>
>The HTML has the <a href=...><sup>...</sup> at the start of the line, followed by
>the line's text, as if I had written
>
> http://www.pmwiki.org/ For more information, see
Is the generated HTML incorrect, or is the icon being positioned
by a style (CSS)?
What exactly is the generated HTML? (view source)
--
Regards / Groeten, http://www.leren.nl
Ren? Pijlman http://www.applinet.nl
More information about the pmwiki-users
mailing list