From df9ee435af90cfcb1cf4ad38e8a77bd68f3a634a Mon Sep 17 00:00:00 2001 From: Ben Fiedler Date: Tue, 15 Dec 2020 01:46:14 +0100 Subject: [PATCH] Fix safehtml call --- layouts/blog/single.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/blog/single.html b/layouts/blog/single.html index 9eea1ab..bc1302f 100644 --- a/layouts/blog/single.html +++ b/layouts/blog/single.html @@ -12,7 +12,7 @@ {{ $content := .Content }} {{- if in .Params.tags "math" }} - {{ $content = replace $content "$" "$" }} + {{ $content = replace $content "$" "$" | safeHTML }} {{- end }} {{- if .Params.tags }} {{ $footnotes_tag := `
` }} -- 2.30.1