From 05422f3a36eb406451d714f16204d8cded3e7fb8eb06131948c2da05749ec20d Mon Sep 17 00:00:00 2001 From: Nicholas Johnson <nick@nicholasjohnson.ch> Date: Fri, 24 Feb 2023 00:00:00 +0000 Subject: Declare safeHTML where possible --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/index.html') diff --git a/layouts/index.html b/layouts/index.html index 9c4bb45..3ba0607 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -6,7 +6,7 @@ <nav> <ul class="list"> {{- range .Site.Menus.main }} - <li class="list__item">{{ emojify ":link:" }} <a class="link" href="{{ .URL }}" rel="noreferrer">{{ .Name }}</a></li> + <li class="list__item">{{ emojify ":link:" | safeHTML }} <a class="link" href="{{ .URL }}" rel="noreferrer">{{ .Name }}</a></li> {{- end }} </ul> </nav> -- cgit v1.2.3