From 5be250b0e2e703a25f0db6c5081f60ba57e4bee5 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Fri, 24 Apr 2020 10:29:23 +0200 Subject: [PATCH] #207, Fix whitespaces again, in shortcodes inside shortcodes --- layouts/shortcodes/katex.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/shortcodes/katex.html b/layouts/shortcodes/katex.html index e6b7564..b255cb8 100644 --- a/layouts/shortcodes/katex.html +++ b/layouts/shortcodes/katex.html @@ -7,7 +7,7 @@ {{- end -}} - {{- cond (in .Params "display") "\\[" "\\(" -}} + {{ cond (in .Params "display") "\\[" "\\(" -}} {{- trim .Inner "\n" -}} - {{- cond (in .Params "display") "\\]" "\\)" -}} + {{- cond (in .Params "display") "\\]" "\\)" }}