Escape titles for XML for RSS
This commit is contained in:
		| @@ -97,7 +97,7 @@ | ||||
|                     {{ $external := and $subpage.Params.link (not ($subpage.Param "paige.feeds.disable_link")) | not | not }} | ||||
|                     {{ $id := printf "tag:%s,%s:%s" (urls.Parse site.BaseURL).Host ($subpage.PublishDate.Format "2006-01-02") (cond ($subpage.Params.id | not) $subpage.RelPermalink $subpage.Params.id) }} | ||||
|                     {{ $published := $subpage.PublishDate.Format $date }} | ||||
|                     {{ $title := $subpage.Title | markdownify | plainify }} | ||||
|                     {{ $title := $subpage.Title | markdownify | plainify | htmlUnescape | transform.XMLEscape }} | ||||
|  | ||||
|                     {{ $link := cond $external (htmlEscape $subpage.Params.link) $subpage.Permalink }} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user