From 09d36e77854ba9aaa32cc7f96686e0c1132e92ee Mon Sep 17 00:00:00 2001 From: Will Faught Date: Sat, 16 Sep 2023 00:07:02 -0700 Subject: [PATCH] Wrap description in CDATA in RSS --- layouts/_default/rss.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index b348ce0a..97bf8d6a 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -50,7 +50,7 @@ {{ if .Content }} {{ printf "" .Content | safeHTML }} {{ else if .Description }} - {{ .Description | markdownify | safeHTML }} + {{ printf "" (.Description | markdownify) | safeHTML }} {{ end }} {{ with .Permalink }} {{ . }}