use safeHTML on summary text

This commit is contained in:
Quentin Baker 2021-10-12 14:49:21 -04:00
parent 89357fefec
commit f5b19225a0

View File

@ -7,9 +7,9 @@
{{ if not .Site.Params.disableSummary }}
<div class="content post-summary p-summary">
{{ if isset .Params "description" }}
{{ .Description }}
{{ .Description | safeHTML }}
{{ else }}
{{ .Summary }}&hellip;
{{ .Summary | safeHTML }}&hellip;
{{ end }}
</div>
{{ end }}