aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-pt2021/layouts/_default
diff options
context:
space:
mode:
authorPaul Duncan <pabs@pablotron.org>2021-10-26 18:34:20 -0400
committerPaul Duncan <pabs@pablotron.org>2021-10-26 18:34:20 -0400
commit04d1d053cc773af20269cc257301fcd5267b3e93 (patch)
treed635e7b5a7f24ae62ef50077f8c70ca121b04cab /themes/hugo-pt2021/layouts/_default
parent1a31f66aecdc5aedd96bc2a5474fc2589602e3c2 (diff)
downloadpablotron.org-04d1d053cc773af20269cc257301fcd5267b3e93.tar.bz2
pablotron.org-04d1d053cc773af20269cc257301fcd5267b3e93.zip
one more crack at properly HTMl-encoding full content in description
Diffstat (limited to 'themes/hugo-pt2021/layouts/_default')
-rw-r--r--themes/hugo-pt2021/layouts/_default/index.xml2
1 files changed, 1 insertions, 1 deletions
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>