Skip to content

Commit

Permalink
[docs] RSS: Pass title through xml_escape
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Shen committed Jun 3, 2013
1 parent cb9cc5d commit 2bb7e15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/feed.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ layout: none
<atom:link href="{{ site.url }}{{ site.baseurl }}/feed.xml" rel="self" type="application/rss+xml" />
{% for post in site.posts limit:10 %}
<item>
<title>{{ post.title }}</title>
<title>{{ post.title | xml_escape }}</title>
<description>{{ post.content | xml_escape }}</description>
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
<link>{{ site.url }}{{ site.baseurl }}{{ post.url }}</link>
Expand Down

0 comments on commit 2bb7e15

Please sign in to comment.