aboutsummaryrefslogtreecommitdiff
path: root/.themes/classic
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-10-03 06:29:52 -0700
committerBrandon Mathis <brandon@imathis.com>2011-10-03 06:29:52 -0700
commit2a69965e8194822b5de7e112b904672b47e155c1 (patch)
tree2694d0c7369e6f2a3cafbb3938b55073ad11f4cf /.themes/classic
parent09057190d974d071750e28ac9b329a1549fbbef2 (diff)
parent63c3ba651414a292b9de29a258d7179ec2f54816 (diff)
downloadmy_new_personal_website-2a69965e8194822b5de7e112b904672b47e155c1.tar.xz
my_new_personal_website-2a69965e8194822b5de7e112b904672b47e155c1.zip
Merge pull request #193 from alg/atom-escaping
Proper atom feed xml escaping
Diffstat (limited to '.themes/classic')
-rw-r--r--.themes/classic/source/atom.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.themes/classic/source/atom.xml b/.themes/classic/source/atom.xml
index 693f3978..e92514b0 100644
--- a/.themes/classic/source/atom.xml
+++ b/.themes/classic/source/atom.xml
@@ -4,21 +4,21 @@ layout: nil
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <title>{{ site.title }}</title>
+ <title>{{ site.title | xml_escape }}</title>
<link href="{{ site.url }}/atom.xml" rel="self"/>
<link href="{{ site.url }}/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>{{ site.url }}/</id>
<author>
- <name>{{ site.author }}</name>
+ <name>{{ site.author | xml_escape }}</name>
{% if site.email %}
- <email>{{ site.email }}</email>
+ <email>{{ site.email | xml_escape }}</email>
{% endif %}
</author>
{% for post in site.posts limit: 20 %}
<entry>
- <title>{{ post.title }}</title>
+ <title>{{ post.title | xml_escape }}</title>
<link href="{{ site.url }}{{ post.url }}"/>
<updated>{{ post.date | date_to_xmlschema }}</updated>
<id>{{ site.url }}{{ post.id }}</id>