From c4dff251dc92db9465a076406f2a908086845ecc Mon Sep 17 00:00:00 2001 From: Valentin VALCIU Date: Mon, 28 Oct 2013 13:09:31 +0200 Subject: [PATCH] * properly escaped site title and post/page title in the RSS feeds; --- .themes/classic/source/_includes/custom/category_feed.xml | 2 +- .themes/classic/source/atom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.themes/classic/source/_includes/custom/category_feed.xml b/.themes/classic/source/_includes/custom/category_feed.xml index 8bc34fe..2f16eee 100644 --- a/.themes/classic/source/_includes/custom/category_feed.xml +++ b/.themes/classic/source/_includes/custom/category_feed.xml @@ -4,7 +4,7 @@ layout: nil - <![CDATA[{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %} | {{ site.title }}]]> + <![CDATA[{% if site.titlecase %}{{ page.title | titlecase | cdata_escape }}{% else %}{{ page.title | cdata_escape }}{% endif %} | {{ site.title | cdata_escape }}]]> {{ site.time | date_to_xmlschema }} diff --git a/.themes/classic/source/atom.xml b/.themes/classic/source/atom.xml index 19a972c..d4a4427 100644 --- a/.themes/classic/source/atom.xml +++ b/.themes/classic/source/atom.xml @@ -4,7 +4,7 @@ layout: nil - <![CDATA[{{ site.title }}]]> + <![CDATA[{{ site.title | cdata_escape }}]]> {{ site.time | date_to_xmlschema }}