From b3f544226cddb2e91464d2901121783e9bee4c40 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Wed, 11 Oct 2023 22:29:14 -0700 Subject: [PATCH] Use htmlUnescape with plainify in RSS --- layouts/_default/rss.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml index b859a4d3..c47736b0 100644 --- a/layouts/_default/rss.xml +++ b/layouts/_default/rss.xml @@ -11,8 +11,8 @@ {{ $limit := site.Config.Services.RSS.Limit }} {{ $link := ($page.AlternativeOutputFormats.Get "html").Permalink }} {{ $managingeditor := $page.Param "paige.feed.rss.managing_editor" }} -{{ $pagetitle := $page.Title | markdownify | plainify }} -{{ $sitetitle := site.Title | markdownify | plainify }} +{{ $pagetitle := $page.Title | markdownify | plainify | htmlUnescape }} +{{ $sitetitle := site.Title | markdownify | plainify | htmlUnescape }} {{ $subpages := slice }} {{ $webmaster := $page.Param "paige.feed.rss.web_master" }} @@ -78,7 +78,7 @@ {{ $paramlink := and .Params.link (not (.Param "paige.feed.link_to_page")) | not | not }} {{ $permalink := false }} {{ $pubdate := .PublishDate.Format $format }} - {{ $title := .Title | markdownify | plainify }} + {{ $title := .Title | markdownify | plainify | htmlUnescape }} {{ $link := cond $paramlink .Params.link .Permalink }}