Skip to content

Commit

Permalink
Fix entity escaping in rss.xml (#46)
Browse files Browse the repository at this point in the history
Signed-off-by: Wolfgang Popp <mail@wolfgang-popp.de>
Co-authored-by: James Hunt <10615884+thetwopct@users.noreply.github.com>
  • Loading branch information
woefe and thetwopct committed May 21, 2024
1 parent 39c1226 commit dd70ac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/rss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
<description>{{ .Summary | safeHTML }}</description>
<description>{{ .Summary | transform.XMLEscape | safeHTML }}</description>
</item>
{{ end }}
{{ end }}
Expand All @@ -22,7 +22,7 @@
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
<description>{{ .Summary | safeHTML }}</description>
<description>{{ .Summary | transform.XMLEscape | safeHTML }}</description>
</item>
{{ end }}
{{ end }}
Expand Down

0 comments on commit dd70ac6

Please sign in to comment.