fix: fix extra space after katex shortcode (#244)
This commit is contained in:
parent
84517d2539
commit
015b99a3ff
|
@ -13,5 +13,6 @@
|
||||||
<span class="gblog-katex {{ with .Get "class" }}{{ . }}{{ end }}">
|
<span class="gblog-katex {{ with .Get "class" }}{{ . }}{{ end }}">
|
||||||
{{ cond (in .Params "display") "\\[" "\\(" -}}
|
{{ cond (in .Params "display") "\\[" "\\(" -}}
|
||||||
{{- trim .Inner "\n" -}}
|
{{- trim .Inner "\n" -}}
|
||||||
{{- cond (in .Params "display") "\\]" "\\)" }}
|
{{- cond (in .Params "display") "\\]" "\\)" -}}
|
||||||
</span>
|
</span>
|
||||||
|
{{- /* Drop trailing newlines */ -}}
|
||||||
|
|
Loading…
Reference in New Issue