From 9d61f9ddf9fd6a4550933348e016cc4bf9e1c4b2 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sat, 26 Feb 2022 16:28:10 +0100 Subject: [PATCH] fix: avoid to apply css class katex twice (#357) --- layouts/shortcodes/katex.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/shortcodes/katex.html b/layouts/shortcodes/katex.html index 3ab6b2f..b4bc605 100644 --- a/layouts/shortcodes/katex.html +++ b/layouts/shortcodes/katex.html @@ -10,7 +10,7 @@ {{ end }} - + {{ cond (in .Params "display") "\\[" "\\(" -}} {{- trim .Inner "\n" -}} {{- cond (in .Params "display") "\\]" "\\)" }}