XML-escape blog post title in feed.xml
This commit is contained in:
parent
da1e6d27c2
commit
1b63aff279
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue