diff options
-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 d0d9a13..3b61876 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 | html }}</description> + <description>{{- (printf "<![CDATA[%s]]>" .Content) | safeHTML -}}</description> </item> {{ end }} </channel> |