Skip to content

Commit

Permalink
change div tag to pre tag to keep whitespace when minifying
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesjlee committed Jan 14, 2024
1 parent 25d099d commit b212e67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/_markup/render-codeblock-mermaid.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="mermaid">
<pre class="mermaid">
{{- .Inner | safeHTML }}
</div>
</pre>
{{ .Page.Store.Set "hasMermaid" true }}

0 comments on commit b212e67

Please sign in to comment.