Skip to content

Commit

Permalink
Fix entity escaping in rss.xml
Browse files Browse the repository at this point in the history
  • Loading branch information
woefe committed Apr 18, 2024
1 parent 560c17b commit 42ca1e9
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 42ca1e9

Please sign in to comment.