diff options
author | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-06-22 11:56:42 +0200 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2010-06-22 11:56:42 +0200 |
commit | d875c1e3309d224cbd344fe690ff9846378f2668 (patch) | |
tree | 0a0decbe046d6fd0c18ba1e9a59c12346f927d00 /data | |
parent | 6059de5401c49d1dbf49d9283b0773ed9cbcb843 (diff) | |
download | hakyll-d875c1e3309d224cbd344fe690ff9846378f2668.tar.gz |
Wrap RSS descriptions in CDATA
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/rss-item.xml | 2 | ||||
-rw-r--r-- | data/templates/rss.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/rss-item.xml b/data/templates/rss-item.xml index 6fb23ea..e04864e 100644 --- a/data/templates/rss-item.xml +++ b/data/templates/rss-item.xml @@ -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> diff --git a/data/templates/rss.xml b/data/templates/rss.xml index 1aaaffe..bbdfc7e 100644 --- a/data/templates/rss.xml +++ b/data/templates/rss.xml @@ -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> |