From c48995310bfa03e4c8b27922ea7d3bcdd3109739 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sun, 27 Mar 2022 21:24:04 -0700 Subject: [PATCH] Escape math in LaTeX --- 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 }} $$