Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Commit

Permalink
xml escape the post title
Browse files Browse the repository at this point in the history
I didn't test this change, just a quick edit because I noted an unescaped ampersand was breaking the RSS-Feed in my browser.
  • Loading branch information
rmetzler committed Mar 18, 2015
1 parent d60a218 commit 833682e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion feed.xml
Expand Up @@ -19,7 +19,7 @@
<description>{{ site.description }}</description>
{% 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: "%a, %d %b %Y %H:%M:%S %z" }}</pubDate>
<link>{{ site.url }}{{ post.url }}</link>
Expand Down

0 comments on commit 833682e

Please sign in to comment.