Forum: Radiant CMS HTML entities tag?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
7f85ce9d3a9ef1e91534fa9e911fccb1?d=identicon&s=25 Adam Salter (Guest)
on 2007-05-14 05:40
(Received via mailing list)
I have a Title in my CMS which contains an & sign is there any way to
have radiant html encode it using tags? (Because as everybody knows &
signs are dangerous for validation)

I can write an extension for this, but it seems overkill... I expect
it would be a standard tag really...

<r:html_entities><r:title /></r:html_entites>

If not and people think it's worth it i'll write a patch for Radiant.

141eb0f230986785c8846181e8911330?d=identicon&s=25 Michael Irwin (Guest)
on 2007-05-14 14:22
(Received via mailing list)
Try <r:escape_html>...</r:escape_html>.
This topic is locked and can not be replied to.