Wrap RSS description in CDATA
authormpm@selenic.com
Wed, 27 Jul 2005 07:35:36 -0800
changeset 777 8a61f25414b5
parent 776 7635a3f14ad4
child 778 d09975474928
Wrap RSS description in CDATA Problem spotted by Ollivier Robert
templates/changelogentry-rss.tmpl
templates/filelogentry-rss.tmpl
--- a/templates/changelogentry-rss.tmpl
+++ b/templates/changelogentry-rss.tmpl
@@ -1,7 +1,7 @@
 <item>
     <title>#desc|firstline|escape#</title>
     <link>#url#?cmd=changeset;node=#node#</link>
-    <description>#desc|escape|addbreaks#</description>
+    <description><![CDATA[#desc|escape|addbreaks#]]></description>
     <author>#author|obfuscate#</author>
     <pubDate>#date|rfc822date#</pubDate>
 </item>
--- a/templates/filelogentry-rss.tmpl
+++ b/templates/filelogentry-rss.tmpl
@@ -1,7 +1,7 @@
 <item>
     <title>#desc|firstline|escape#</title>
     <link>#url#?cmd=file;file=#file#;filenode=#filenode#</link>
-    <description>#desc|escape|addbreaks#</description>
+    <description><![CDATA[#desc|escape|addbreaks#]]></description>
     <author>#author|obfuscate#</author>
     <pubDate>#date|rfc822date#</pubDate>>
 </item>