diff options
author | Daniel Saunders <10623666+funkydan2@users.noreply.github.com> | 2020-12-07 02:43:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 02:43:01 +0300 |
commit | 600d9b03ed13c0e026f00a68a130fe3a21683934 (patch) | |
tree | d25acea83dcc7c64c47c2ab108c7e5effd0b2d5f | |
parent | 659c14f66b7b2a3748f065f0d202f531b4e2a5a5 (diff) | |
parent | 855180e7b0b07e9bbefcf0000620ef683b173a13 (diff) |
Merge pull request #58 from lau-jay/master
add invisible char filter
-rw-r--r-- | layouts/_default/rss.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index 16df322..76945ef 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -23,7 +23,7 @@ <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 | html }}</description> + <description>{{ .Content | replaceRE `[\x00-\x1F\x7F]` "" | html}}</description> </item> {{ end }} </channel> |