Skip to content

Commit

Permalink
Wrap RSS descriptions in CDATA
Browse files Browse the repository at this point in the history
  • Loading branch information
jaspervdj committed Jun 22, 2010
1 parent 6059de5 commit d875c1e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/templates/rss-item.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<item>
<title>$title</title>
<link>$absolute/$url</link>
<description>$description</description>
<description><![CDATA[$description]]></description>
<pubDate>$timestamp</pubDate>
<guid>$absolute/$url</guid>
</item>
2 changes: 1 addition & 1 deletion data/templates/rss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<channel>
<title>$title</title>
<link>$absolute</link>
<description>$description</description>
<description><![CDATA[$description]]></description>
<atom:link href="$absolute/$url" rel="self"
type="application/rss+xml" />
<lastBuildDate>$timestamp</lastBuildDate>
Expand Down

0 comments on commit d875c1e

Please sign in to comment.