Add missing uses of safeHTML

This commit is contained in:
Will Faught
2023-09-15 23:44:56 -07:00
parent f410b73b24
commit 173872ea26
11 changed files with 20 additions and 20 deletions

View File

@@ -50,7 +50,7 @@
{{ if .Content }}
<description>{{ printf "<![CDATA[%s]]>" .Content | safeHTML }}</description>
{{ else if .Description }}
<description>{{ .Description | markdownify | html }}</description>
<description>{{ .Description | markdownify | safeHTML }}</description>
{{ end }}
{{ with .Permalink }}
<guid>{{ . }}</guid>
@@ -60,7 +60,7 @@
<pubDate>{{ .Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</pubDate>
{{ end }}
{{ with .Title }}
<title>{{ . | markdownify | plainify | htmlUnescape }}</title>
<title>{{ . | markdownify | plainify | htmlUnescape | safeHTML }}</title>
{{ end }}
</item>
{{ end }}