From b9926cb5b31941805d58ee322c6e17b902ba4fe9 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sat, 30 Dec 2023 17:03:25 -0600 Subject: [PATCH] plainify rss title and summary --- layouts/_default/rss.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index cb475be..bc7027f 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -32,7 +32,7 @@ {{ range $pages }} - {{ .Title }} + {{ .Title | plainify }} {{ .Permalink }} {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Params.Author.name }}{{.}}{{end}} @@ -40,7 +40,7 @@ {{ range (.GetTerms "tags") }} {{ .LinkTitle }}{{end}} {{ .Permalink }} - {{ .Summary | transform.XMLEscape | safeHTML }} + {{ .Summary | plainify }} {{ end }}