diff options
author | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-07-31 22:13:21 +0100 |
---|---|---|
committer | Simon McVittie <smcv@ http://smcv.pseudorandom.co.uk/> | 2008-07-31 22:13:21 +0100 |
commit | 9b901a33647407142038175006f81e773ae5883a (patch) | |
tree | 2fcb4e00c56fb328e9b2d6b20e53ec3380068760 /templates | |
parent | 9bc2e316b2d96245a9904da4d484f918db39ed07 (diff) |
Escape HTML in RSS feeds, rather than relying on it being valid to stuff into a CDATA section
Diffstat (limited to 'templates')
-rw-r--r-- | templates/rssitem.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/rssitem.tmpl b/templates/rssitem.tmpl index 1144cd5e2..42936a668 100644 --- a/templates/rssitem.tmpl +++ b/templates/rssitem.tmpl @@ -21,6 +21,6 @@ <TMPL_IF NAME="ENCLOSURE"> <enclosure url="<TMPL_VAR ENCLOSURE>" type="<TMPL_VAR TYPE>" length="<TMPL_VAR LENGTH>" /> <TMPL_ELSE> - <description><![CDATA[<TMPL_VAR CONTENT>]]></description> + <description><TMPL_VAR CONTENT ESCAPE=HTML></description> </TMPL_IF> </item> |