diff options
author | Paul Duncan <pabs@pablotron.org> | 2021-10-26 18:34:20 -0400 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2021-10-26 18:34:20 -0400 |
commit | 04d1d053cc773af20269cc257301fcd5267b3e93 (patch) | |
tree | d635e7b5a7f24ae62ef50077f8c70ca121b04cab /themes | |
parent | 1a31f66aecdc5aedd96bc2a5474fc2589602e3c2 (diff) | |
download | pablotron.org-04d1d053cc773af20269cc257301fcd5267b3e93.tar.bz2 pablotron.org-04d1d053cc773af20269cc257301fcd5267b3e93.zip |
one more crack at properly HTMl-encoding full content in description
Diffstat (limited to 'themes')
-rw-r--r-- | themes/hugo-pt2021/layouts/_default/index.xml | 2 |
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> |