Remove unneeded safeHTML
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
|
||||
{{ with $page.Param "paige.alert" }}
|
||||
{{ if reflect.IsMap . }}
|
||||
<div class="alert alert-{{ .type }}" role="alert">{{ .message | markdownify | safeHTML }}</div>
|
||||
<div class="alert alert-{{ .type }}" role="alert">{{ .message | markdownify }}</div>
|
||||
{{ else }}
|
||||
<div class="alert alert-primary" role="alert">{{ . | markdownify | safeHTML }}</div>
|
||||
<div class="alert alert-primary" role="alert">{{ . | markdownify }}</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user