Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/funkydan2/hugo-kiera.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Lau <cappyclear@gmail.com>2020-12-06 12:41:11 +0300
committerJay Lau <cappyclear@gmail.com>2020-12-06 12:41:11 +0300
commit855180e7b0b07e9bbefcf0000620ef683b173a13 (patch)
treed25acea83dcc7c64c47c2ab108c7e5effd0b2d5f
parenta20bd97fc91447e8abd40561f25756a4ed9c978b (diff)
bugfix invisible char filter
-rw-r--r--layouts/_default/rss.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
index abe5a11..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 | replaceRE `[^\f\t\n\r\v\123\x7F\x{10FFFF}\\\^\$\.\*\+\?\{\}\(\)\[\]\|]` "$1" | html}}</description>
+ <description>{{ .Content | replaceRE `[\x00-\x1F\x7F]` "" | html}}</description>
</item>
{{ end }}
</channel>