From 583c949eeda7135d1356bbcb6063f0650f158e24 Mon Sep 17 00:00:00 2001 From: LGiki Date: Sun, 6 Jun 2021 14:17:23 +0800 Subject: [PATCH] Compatible with HUGO 0.64.0 --- layouts/rss.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/rss.xml b/layouts/rss.xml index f58d1c8..41e0c54 100644 --- a/layouts/rss.xml +++ b/layouts/rss.xml @@ -82,7 +82,7 @@ {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} {{ .Permalink }} - {{ printf "" (strings.Replace (strings.Replace .Content "\n" "" -1) "\r" "" -1) | safeHTML }} + {{ printf "" (strings.Replace (strings.Replace .Content "\n" "") "\r" "") | safeHTML }} {{- end -}}