From 63c3ba651414a292b9de29a258d7179ec2f54816 Mon Sep 17 00:00:00 2001 From: Aleksey Gureiev Date: Sun, 2 Oct 2011 09:05:54 +0300 Subject: [PATCH] Proper atom feed xml escaping --- .themes/classic/source/atom.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.themes/classic/source/atom.xml b/.themes/classic/source/atom.xml index 693f397..e92514b 100644 --- a/.themes/classic/source/atom.xml +++ b/.themes/classic/source/atom.xml @@ -4,21 +4,21 @@ layout: nil - {{ site.title }} + {{ site.title | xml_escape }} {{ site.time | date_to_xmlschema }} {{ site.url }}/ - {{ site.author }} + {{ site.author | xml_escape }} {% if site.email %} - {{ site.email }} + {{ site.email | xml_escape }} {% endif %} {% for post in site.posts limit: 20 %} - {{ post.title }} + {{ post.title | xml_escape }} {{ post.date | date_to_xmlschema }} {{ site.url }}{{ post.id }}