use safeHTML on summary text
This commit is contained in:
parent
89357fefec
commit
f5b19225a0
1 changed files with 2 additions and 2 deletions
|
@ -7,9 +7,9 @@
|
||||||
{{ if not .Site.Params.disableSummary }}
|
{{ if not .Site.Params.disableSummary }}
|
||||||
<div class="content post-summary p-summary">
|
<div class="content post-summary p-summary">
|
||||||
{{ if isset .Params "description" }}
|
{{ if isset .Params "description" }}
|
||||||
{{ .Description }}
|
{{ .Description | safeHTML }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ .Summary }}…
|
{{ .Summary | safeHTML }}…
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue