From 04d1d053cc773af20269cc257301fcd5267b3e93 Mon Sep 17 00:00:00 2001
From: Paul Duncan <pabs@pablotron.org>
Date: Tue, 26 Oct 2021 18:34:20 -0400
Subject: one more crack at properly HTMl-encoding full content in description

---
 themes/hugo-pt2021/layouts/_default/index.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'themes/hugo-pt2021/layouts')

diff --git a/themes/hugo-pt2021/layouts/_default/index.xml b/themes/hugo-pt2021/layouts/_default/index.xml
index ade0515..d0d9a13 100644
--- a/themes/hugo-pt2021/layouts/_default/index.xml
+++ b/themes/hugo-pt2021/layouts/_default/index.xml
@@ -44,7 +44,7 @@ Changes:
       <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
       {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
       <guid>{{ .Permalink }}</guid>
-      <description>{{ .Content | htmlEscape }}</description>
+      <description>{{ .Content | htmlEscape | html }}</description>
     </item>
     {{ end }}
   </channel>
-- 
cgit v1.2.3