Bug with HTML Entities in Pretty Links

8 views
Skip to first unread message

LostCreation

unread,
Apr 14, 2007, 5:11:09 PM4/14/07
to TiddlyWikiDev
TiddlyWiki (both 2.1.3 and 2.2.0 beta 4) don't recognize HTML Entities
in the "pretty label" part of PrettyLinks, and change the "&" into
"&" when they display it. For example, the pretty link below shows
up as "»" instead of as a right-angle quotation mark, and you'll
see "»" in the page source code.

[[»|ForExample]]

Doing "»" on it's own, outputs what you'd expect. Having an HTML
Entity in the tiddler title itself is also problematic (in much the
same way), but I'm not actually trying to do that. I can't see any
reason you wouldn't want HTML Entities as the label for pretty links
though.

Jeremy Ruston

unread,
Apr 15, 2007, 10:38:56 AM4/15/07
to Tiddly...@googlegroups.com
> TiddlyWiki (both 2.1.3 and 2.2.0 beta 4) don't recognize HTML Entities
> in the "pretty label" part of PrettyLinks, and change the "&" into
> "&" when they display it. For example, the pretty link below shows
> up as "»" instead of as a right-angle quotation mark, and you'll
> see "»" in the page source code.
>
> [[»|ForExample]]

OK, that's a bug, I've filed a ticket here:

http://trac.tiddlywiki.org/ticket/329

> Doing "»" on it's own, outputs what you'd expect. Having an HTML
> Entity in the tiddler title itself is also problematic (in much the
> same way), but I'm not actually trying to do that. I can't see any
> reason you wouldn't want HTML Entities as the label for pretty links
> though.

HTML entities don't work at all in tiddler titles because tiddler
titles don't get wikified when they are rendered. I agree it would be
handy if they did work, though.

Best wishes

>
> >
>


--
Jeremy Ruston
mailto:jer...@osmosoft.com
http://www.tiddlywiki.com

Reply all
Reply to author
Forward
0 new messages