fix: avoid to apply css class katex twice (#357)

uci-hugo-doc
Robert Kaussow 2022-02-26 16:28:10 +01:00 committed by GitHub
parent e1edb90407
commit 9d61f9ddf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
{{ 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") "\\[" "\\(" -}}
{{- trim .Inner "\n" -}}
{{- cond (in .Params "display") "\\]" "\\)" }}