fix: mindmap first item rendered indented

This commit is contained in:
George Cushen committed 2022-09-24 13:17:32 +01:00
1 parent a2b502f9d6
commit 173224079f
1 file changed
+2 -3
@@ -1,6 +1,5 @@
<div class="markmap" style="height: {{.Attributes.height | default "500px"}};">
<pre>
{{- .Inner | safeHTML -}}
</pre>
{{/* No indentation before PRE and .Inner otherwise mindmap first item will be indented */}}
<pre>{{- .Inner | safeHTML -}}</pre>
</div>
{{ .Page.Store.Set "has_markmap" true }}