From bf2b12f75419c548f4939e3ff8448f9a4913aa4c Mon Sep 17 00:00:00 2001 From: Ngô Ngọc Đức Huy Date: Mon, 23 Aug 2021 22:29:26 +0700 Subject: Add safe filter to avoid overescaping --- layouts/_default/_markup/render-heading.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/_default') diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html index 257cc4c..2b14e7c 100644 --- a/layouts/_default/_markup/render-heading.html +++ b/layouts/_default/_markup/render-heading.html @@ -1,5 +1,5 @@ - {{ .Text }} + {{ .Text | safeHTML }} -- cgit 1.4.1