diff options
author | Baron Schwartz <xaprb@users.noreply.github.com> | 2018-10-27 20:04:29 +0300 |
---|---|---|
committer | Baron Schwartz <xaprb@users.noreply.github.com> | 2018-10-27 20:04:29 +0300 |
commit | 77fd3299bf5a4c17cdcaf00a9dda2cc031856d0b (patch) | |
tree | 997532757b6873822f0ce880ae48ede659794573 | |
parent | 0cd1624709e35dd24349e3fa249c2ce628cbe7f2 (diff) |
remove markdownify | html from RSS titles, it creates invalid XML entities or double escapes
-rw-r--r-- | layouts/_default/index.xml | 2 | ||||
-rw-r--r-- | layouts/_default/mailchimp.xml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/index.xml b/layouts/_default/index.xml index 20ce2ad..4d7e8b0 100644 --- a/layouts/_default/index.xml +++ b/layouts/_default/index.xml @@ -9,7 +9,7 @@ <updated>{{ .Date }}</updated> {{ range where (where (where .Data.Pages "Section" "ne" "slides") ".Params.skip" "ne" "true") ".Date.Unix" "<" now.Unix }} <item> - <title>{{ cond (eq .Site.Params.titlecase true) (.Title | title | markdownify) (.Title | markdownify | html) }}</title> + <title>{{ cond (eq .Site.Params.titlecase true) (.Title | title) (.Title) }}</title> <link>{{ .Permalink }}</link> <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</pubDate> <author>{{ .Site.Params.Author }}</author> diff --git a/layouts/_default/mailchimp.xml b/layouts/_default/mailchimp.xml index ed8c61c..0522e10 100644 --- a/layouts/_default/mailchimp.xml +++ b/layouts/_default/mailchimp.xml @@ -9,7 +9,7 @@ <updated>{{ .Date }}</updated> {{ range first 20 (where (where (where .Site.RegularPages "Section" "ne" "slides") ".Params.skip" "ne" "true") ".Date.Unix" "<" now.Unix) }} <item> - <title>{{ cond (eq .Site.Params.titlecase true) (.Title | title | markdownify | html) (.Title | markdownify | html) }}</title> + <title>{{ cond (eq .Site.Params.titlecase true) (.Title | title) (.Title) }}</title> <link>{{ .Permalink }}</link> <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }}</pubDate> <author>{{ .Site.Params.Author }}</author> |