diff options
author | Valentin VALCIU <axiac.ro@gmail.com> | 2013-10-28 13:09:31 +0200 |
---|---|---|
committer | Valentin VALCIU <axiac.ro@gmail.com> | 2013-10-28 13:09:31 +0200 |
commit | c4dff251dc92db9465a076406f2a908086845ecc (patch) | |
tree | 40dd8912b8a81656e1779c084323524f3ac3e4ea /.themes/classic/source/_includes/custom | |
parent | a79855d1c32f6e337994b96b30bea8f4a75309f4 (diff) | |
download | my_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 '.themes/classic/source/_includes/custom')
-rw-r--r-- | .themes/classic/source/_includes/custom/category_feed.xml | 2 |
1 files changed, 1 insertions, 1 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> |