diff options
author | Aleksey Gureiev <spyromus@noizeramp.com> | 2011-10-02 09:05:54 +0300 |
---|---|---|
committer | Aleksey Gureiev <spyromus@noizeramp.com> | 2011-10-02 09:05:54 +0300 |
commit | 63c3ba651414a292b9de29a258d7179ec2f54816 (patch) | |
tree | 2694d0c7369e6f2a3cafbb3938b55073ad11f4cf /.themes/classic | |
parent | 09057190d974d071750e28ac9b329a1549fbbef2 (diff) | |
download | my_new_personal_website-63c3ba651414a292b9de29a258d7179ec2f54816.tar.xz my_new_personal_website-63c3ba651414a292b9de29a258d7179ec2f54816.zip |
Proper atom feed xml escaping
Diffstat (limited to '.themes/classic')
-rw-r--r-- | .themes/classic/source/atom.xml | 8 |
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> |