From 05422f3a36eb406451d714f16204d8cded3e7fb8eb06131948c2da05749ec20d Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Fri, 24 Feb 2023 00:00:00 +0000 Subject: Declare safeHTML where possible --- layouts/_default/taxonomy.gmi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default/taxonomy.gmi') diff --git a/layouts/_default/taxonomy.gmi b/layouts/_default/taxonomy.gmi index f0a4b63..ad90191 100644 --- a/layouts/_default/taxonomy.gmi +++ b/layouts/_default/taxonomy.gmi @@ -1,6 +1,6 @@ {{ define "main" -}} # All {{ .Type }} {{- range .Data.Pages }} -=> {{ .RelPermalink }} {{ emojify ":link:" }} {{ .Title }} +=> {{ .RelPermalink }} {{ emojify ":link:" | safeHTML }} {{ .Title | safeHTML }} {{- end }} {{- end }} -- cgit v1.2.3