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 1/3] 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 06443909b..9d8a61ba0 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 }} From e6ab4c604048460d5e3996c2a1f8b7d41971df0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Thu, 14 Nov 2024 16:28:25 +0100 Subject: [PATCH 2/3] Add changelog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- changelogs/internal/newsfragments/1997.clarification | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelogs/internal/newsfragments/1997.clarification diff --git a/changelogs/internal/newsfragments/1997.clarification b/changelogs/internal/newsfragments/1997.clarification new file mode 100644 index 000000000..cb11abe65 --- /dev/null +++ b/changelogs/internal/newsfragments/1997.clarification @@ -0,0 +1 @@ +Fix relative URLs when serving the specification with a custom `baseURL`. From f39c44c8274d07ef92519ea25aac18644087d9b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Wed, 20 Nov 2024 11:15:16 +0100 Subject: [PATCH 3/3] Remove HTML sanitizing MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Commaille --- layouts/shortcodes/proposal-tables.html | 1 - 1 file changed, 1 deletion(-) diff --git a/layouts/shortcodes/proposal-tables.html b/layouts/shortcodes/proposal-tables.html index 9d8a61ba0..6f18a50d6 100644 --- a/layouts/shortcodes/proposal-tables.html +++ b/layouts/shortcodes/proposal-tables.html @@ -60,7 +60,6 @@ {{ end }} {{ $docs_links := delimit $docs_links_list ", " }} - {{ $authors_list := apply .authors "htmlEscape" "." }} {{ $authors_list := apply .authors "printf" "@%s" "." "." }} {{ $authors := delimit $authors_list ", " }}