restore missing safeHTML
This commit is contained in:
parent
0724988e4d
commit
c7ebe71f11
|
@ -1,7 +1,7 @@
|
||||||
<div class="alert alert-warning d-flex" role="alert">
|
<div class="alert alert-warning d-flex" role="alert">
|
||||||
<div class="flex-shrink-1 alert-icon">{{ with .Get "icon" }}{{.}} {{ end }}</div>
|
<div class="flex-shrink-1 alert-icon">{{ with .Get "icon" }}{{.}} {{ end }}</div>
|
||||||
{{ with .Get "text"}}
|
{{ with .Get "text"}}
|
||||||
<div class="w-100">{{ . }} </div>
|
<div class="w-100">{{ . | safeHTML }} </div>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ with .Inner}}
|
{{ with .Inner}}
|
||||||
<div class="w-100"> {{ . | markdownify}}</div>
|
<div class="w-100"> {{ . | markdownify}}</div>
|
||||||
|
|
Loading…
Reference in New Issue