aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin VALCIU <axiac.ro@gmail.com>2013-10-28 13:09:31 +0200
committerValentin VALCIU <axiac.ro@gmail.com>2013-10-28 13:09:31 +0200
commitc4dff251dc92db9465a076406f2a908086845ecc (patch)
tree40dd8912b8a81656e1779c084323524f3ac3e4ea
parenta79855d1c32f6e337994b96b30bea8f4a75309f4 (diff)
downloadmy_new_personal_website-c4dff251dc92db9465a076406f2a908086845ecc.tar.xz
my_new_personal_website-c4dff251dc92db9465a076406f2a908086845ecc.zip
* properly escaped site title and post/page title in the RSS feeds;
Diffstat (limited to '')
-rw-r--r--.themes/classic/source/_includes/custom/category_feed.xml2
-rw-r--r--.themes/classic/source/atom.xml2
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 8bc34fe9..2f16eeea 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
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <title><![CDATA[{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %} | {{ site.title }}]]></title>
+ <title><![CDATA[{% if site.titlecase %}{{ page.title | titlecase | cdata_escape }}{% else %}{{ page.title | cdata_escape }}{% endif %} | {{ site.title | cdata_escape }}]]></title>
<link href="{{ site.url }}/{{ page.feed_url }}" rel="self"/>
<link href="{{ site.url }}/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
diff --git a/.themes/classic/source/atom.xml b/.themes/classic/source/atom.xml
index 19a972c2..d4a44278 100644
--- a/.themes/classic/source/atom.xml
+++ b/.themes/classic/source/atom.xml
@@ -4,7 +4,7 @@ layout: nil
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <title><![CDATA[{{ site.title }}]]></title>
+ <title><![CDATA[{{ site.title | cdata_escape }}]]></title>
<link href="{{ site.url }}/atom.xml" rel="self"/>
<link href="{{ site.url }}/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>