Skip to content

Commit c7ebe71

Browse files
committed
restore missing safeHTML
1 parent 0724988 commit c7ebe71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/shortcodes/alert.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div class="alert alert-warning d-flex" role="alert">
22
<div class="flex-shrink-1 alert-icon">{{ with .Get "icon" }}{{.}} {{ end }}</div>
33
{{ with .Get "text"}}
4-
<div class="w-100">{{ . }} </div>
4+
<div class="w-100">{{ . | safeHTML }} </div>
55
{{ else }}
66
{{ with .Inner}}
77
<div class="w-100"> {{ . | markdownify}}</div>

0 commit comments

Comments
 (0)