summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2020-04-24 10:29:23 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2020-04-24 10:29:23 +0200
commit5be250b0e2e703a25f0db6c5081f60ba57e4bee5 (patch)
tree554738865a62caa04181e5754f7af0ac18da9ef9
parent7b18b077eef940111cb13d20ba2151ff6c36633b (diff)
#207, Fix whitespaces again, in shortcodes inside shortcodes
-rw-r--r--layouts/shortcodes/katex.html4
1 files 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 -}}
<span {{- with .Get "class" }} class="{{ . }}"{{ end }}>
- {{- cond (in .Params "display") "\\[" "\\(" -}}
+ {{ cond (in .Params "display") "\\[" "\\(" -}}
{{- trim .Inner "\n" -}}
- {{- cond (in .Params "display") "\\]" "\\)" -}}
+ {{- cond (in .Params "display") "\\]" "\\)" }}
</span>