From 8f41a69bc6bccef792a52e3f15bdfc64d78b406d Mon Sep 17 00:00:00 2001 From: Raphael Aguiar Date: Tue, 12 Dec 2023 19:17:08 -0300 Subject: Fix footer HTML (breaks from Hugo 0.120.0 and up) --- layouts/partials/footer.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index cf3d73c..db45371 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -12,7 +12,7 @@ {{ $processedFooterText = $processedFooterText | append $currentParagraph }} {{ end }} - {{ delimit $processedFooterText "" }} + {{ delimit $processedFooterText "" | safeHTML }} {{ end }} @@ -32,7 +32,7 @@ {{ $processedLangs = $processedLangs | append $currentLang }} {{ end }} -

{{ T "alsoAvailable" }}: {{ delimit $processedLangs ", " (T "and") }}.

+

{{ T "alsoAvailable" }}: {{ delimit $processedLangs ", " (T "and") | safeHTML }}.

{{ end }} -- cgit v1.2.3