diff options
author | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-04-24 10:29:23 +0200 |
---|---|---|
committer | Alex Shpak <alex-shpak@users.noreply.github.com> | 2020-04-24 10:29:23 +0200 |
commit | 5be250b0e2e703a25f0db6c5081f60ba57e4bee5 (patch) | |
tree | 554738865a62caa04181e5754f7af0ac18da9ef9 /layouts | |
parent | 7b18b077eef940111cb13d20ba2151ff6c36633b (diff) |
#207, Fix whitespaces again, in shortcodes inside shortcodes
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/shortcodes/katex.html | 4 |
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> |