From a2e40087bfd772c3bed8a07d4947968c1c820500 Mon Sep 17 00:00:00 2001 From: Sungbin Jo Date: Wed, 3 Jun 2020 14:51:07 +0900 Subject: fix broken rss feed --- rss.esh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rss.esh b/rss.esh index 324642f..39e8d99 100644 --- a/rss.esh +++ b/rss.esh @@ -14,7 +14,7 @@ <% for f in `ls -t ./posts`; do file="./posts/"$f post_date=$(date -u -r "$file" "+%a, %d %b %Y %H:%M:00 %z") - html=$(pandoc -t html "$file") + html=$(pandoc -t html "$file" | sed -e "s/&/\&/g" -e "s//\>/g") id="${file##*/}" id="${id%.*}" post_title=$(echo "$id" | sed -E -e "s/\..+$//g" -e "s/_(.)/ \u\1/g" -e "s/^(.)/\u\1/g") -- cgit v1.2.3