Mercurial > hg-stable
changeset 777:8a61f25414b5
Wrap RSS description in CDATA
Problem spotted by Ollivier Robert
author | mpm@selenic.com |
---|---|
date | Wed, 27 Jul 2005 07:35:36 -0800 |
parents | 7635a3f14ad4 |
children | d09975474928 |
files | templates/changelogentry-rss.tmpl templates/filelogentry-rss.tmpl |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/templates/changelogentry-rss.tmpl Tue Jul 26 19:27:05 2005 -0800 +++ b/templates/changelogentry-rss.tmpl Wed Jul 27 07:35:36 2005 -0800 @@ -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 Tue Jul 26 19:27:05 2005 -0800 +++ b/templates/filelogentry-rss.tmpl Wed Jul 27 07:35:36 2005 -0800 @@ -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>