#207, Fix whitespaces again, in shortcodes inside shortcodes

This commit is contained in:
Alex Shpak 2020-04-24 10:29:23 +02:00
parent 7b18b077ee
commit 5be250b0e2

View file

@ -7,7 +7,7 @@
{{- end -}} {{- end -}}
<span {{- with .Get "class" }} class="{{ . }}"{{ end }}> <span {{- with .Get "class" }} 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>