Permalink
Browse files

escape RSS feed better

  • Loading branch information...
1 parent 668d6fe commit ceda532106b61328018e8fcfda16ae10d560ba74 @benbalter committed Dec 26, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 feed.xml
View
@@ -18,7 +18,7 @@ permalink: /feed/
<pubDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<lastBuildDate>{{ site.time | date: "%a, %d %b %Y %H:%M:%S %z" }}</lastBuildDate>
<language>en-US</language>
- <description>{{ site.description | append:' ' | xml_escape }}</description>
+ <description>{{ site.description }}</description>
{% for post in site.posts limit:site.rss_limit %}<item>
<title>{{ post.title }}</title>
<link>{{ site.url }}{{ post.url }}</link>
@@ -27,7 +27,7 @@ permalink: /feed/
{% for tag in post.tags %}<category>{{ tag | xml_escape }}</category>
{% endfor %}{% for cat in post.categories %}<category>{{ cat | xml_escape }}</category>
{% endfor %}<guid isPermaLink="false">{{ post.id }}</guid>
- <description>{{ post.content | append:' ' | xml_escape }}</description>
+ <description><![CDATA[ {{ post.content }} ]]></description>
</item>{% endfor %}
</channel>
</rss>

0 comments on commit ceda532

Please sign in to comment.