From 1d1cf7c8972ab06119801bd50890a8164d0f49eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Thu, 14 Nov 2024 16:24:33 +0100 Subject: [PATCH] Fix the proposals lists MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Links were broken since the upgrade of the hugo version. Signed-off-by: Kévin Commaille --- layouts/shortcodes/proposal-tables.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/proposal-tables.html b/layouts/shortcodes/proposal-tables.html index 06443909..9d8a61ba 100644 --- a/layouts/shortcodes/proposal-tables.html +++ b/layouts/shortcodes/proposal-tables.html @@ -60,6 +60,7 @@ {{ end }} {{ $docs_links := delimit $docs_links_list ", " }} + {{ $authors_list := apply .authors "htmlEscape" "." }} {{ $authors_list := apply .authors "printf" "@%s" "." "." }} {{ $authors := delimit $authors_list ", " }} @@ -68,8 +69,8 @@ {{ .title }} {{ .created_at }} {{ .updated_at }} - {{ with $docs_links }}{{ $docs_links }}{{ end }} - {{ $authors }} + {{ with $docs_links }}{{ $docs_links | safeHTML }}{{ end }} + {{ $authors | safeHTML }} {{ with .shepherd }}@{{ . }}{{ end }} {{ end }}