Skip to content

Commit

Permalink
Remove white space from align parameter (matcornic#63)
Browse files Browse the repository at this point in the history
Fixes alignment behavior in the short code
  • Loading branch information
sykesm authored and matcornic committed Aug 24, 2017
1 parent be48505 commit 594edf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/shortcodes/mermaid.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<div class="mermaid" align="{{ if .Get " align " }}{{ .Get "align " }}{{ else }}center{{ end }}">{{ safeHTML .Inner }}</div>
<div class="mermaid" align="{{ if .Get "align" }}{{ .Get "align" }}{{ else }}center{{ end }}">{{ safeHTML .Inner }}</div>

0 comments on commit 594edf4

Please sign in to comment.