From de7579064727e30c6e12197dae9fff2aef1a46d1 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Mon, 15 Jan 2024 13:09:20 -0600 Subject: [PATCH] rss: encode content in description --- layouts/_default/rss.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 5c2d88e..8420e36 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -13,6 +13,7 @@ {{- printf "" | safeHTML }} {{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }} @@ -40,7 +41,8 @@ {{ range (.GetTerms "tags") }} {{ .LinkTitle }}{{ end }} {{ .Permalink }} - {{- .Content | html -}} + {{ " + {{ " {{ end }}