XML-escape blog post title in feed.xml

This commit is contained in:
Jens Bissinger 2013-09-04 19:21:23 +02:00
parent da1e6d27c2
commit 1b63aff279
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ permalink: /feed.xml
<description>Transform your plain text into static websites and blogs.</description>
{% for post in site.posts %}
<item>
<title>{{ post.title }}</title>
<title>{{ post.title | xml_escape}}</title>
<link>http://jekyllrb.com{{ post.url }}</link>
<pubDate>{{ post.date | date: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<dc:creator>{{ post.author }}</dc:creator>