From dc2a263122963d5b83eaa21f8eb7ca3293344eef Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sun, 27 Mar 2022 19:49:02 -0700 Subject: [PATCH] Escape LaTeX HTML before inserting it --- layouts/shortcodes/latex.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/latex.html b/layouts/shortcodes/latex.html index c2a7716..4e3656d 100644 --- a/layouts/shortcodes/latex.html +++ b/layouts/shortcodes/latex.html @@ -1,3 +1,3 @@ $$ -{{ .Inner }} +{{ htmlEscape .Inner }} $$