Use safeHTML with printf

This commit is contained in:
Will Faught
2025-01-18 22:13:39 -08:00
parent 06ce1f7e33
commit fb99924f65
2 changed files with 2 additions and 2 deletions

View File

@@ -109,7 +109,7 @@
{{ if and $content $paramlink }}
{{ $link := or (.Param "paige.feed.page_link" | markdownify) "⏎" }}
{{ $footer := printf `<p><a href="%s" title="%s">%s</a></p>` .Permalink (htmlEscape .Title) $link }}
{{ $footer := printf `<p><a href="%s" title="%s">%s</a></p>` .Permalink (htmlEscape .Title) $link | safeHTML }}
{{ $content = print $content $footer }}
{{ end }}