commit ace0aeec65fd0f8029052735a2287cd9e195d70a from: Thomas Böhler date: Sun May 25 14:40:30 2025 UTC rss: make content readable in rss feed Previously the content was unreadable due to the whole HTML escaping thing. Fix this by trying as hard as possible to preserve the plain text. Signed-off-by: Thomas Böhler commit - 40206efc3a16de026879960195860d5ad05b5d81 commit + ace0aeec65fd0f8029052735a2287cd9e195d70a blob - e49c96650309da32c063fc495aab8bf1bc953d41 blob + 0ca0efc8eb4a8afc7f16d4385460691a379c692d --- layouts/_default/rss.xml +++ layouts/_default/rss.xml @@ -32,7 +32,7 @@ {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} {{ .Permalink }} - {{ .Content | html }} + {{ .Plain | htmlUnescape }} {{ end }}