The library for web and native user interfaces.
[docs] RSS: Pass title through xml_escape
Paul Shen committed
Jun 3, 2013 at 11:36 UTC
2bb7e15773cc3f5dbb102deac2603ebc96443835
1 file changed
+1
-1
docs/feed.xml
+1
-1
@@ -10,7 +10,7 @@ layout: none
10
<atom:link href="{{ site.url }}{{ site.baseurl }}/feed.xml" rel="self" type="application/rss+xml" />
11
{% for post in site.posts limit:10 %}
12
<item>
13
- <title>{{ post.title }}</title>
13
+ <title>{{ post.title | xml_escape }}</title>
14
<description>{{ post.content | xml_escape }}</description>
15
<pubDate>{{ post.date | date_to_xmlschema }}</pubDate>
16
<link>{{ site.url }}{{ site.baseurl }}{{ post.url }}</link>