fix: avoid to apply css class katex twice (#357)
This commit is contained in:
parent
e1edb90407
commit
9d61f9ddf9
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<!-- prettier-ignore-end -->
|
<!-- prettier-ignore-end -->
|
||||||
|
|
||||||
<span class="gdoc-katex katex{{ with .Get "class" }}{{ . }}{{ end }}">
|
<span class="gdoc-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") "\\]" "\\)" }}
|
||||||
|
|
Loading…
Reference in a new issue