Remove white space from align parameter (#63)

Fixes alignment behavior in the short code
This commit is contained in:
Matthew Sykes 2017-08-24 01:29:16 -04:00 committed by Mathieu Cornic
parent bcf37e09c8
commit 388b2b4d92

View file

@ -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>