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

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