fix: use safeHTML for description in metadata (#334)
This commit is contained in:
parent
cd9ab9e48e
commit
87fdde4808
4 changed files with 5 additions and 5 deletions
|
@ -7,7 +7,7 @@
|
|||
{{ $keywords := default .Site.Params.Keywords .Keywords }}
|
||||
|
||||
{{- with partial "utils/description" . }}
|
||||
<meta name="description" content="{{ trim (. | plainify) "\n" }}" />
|
||||
<meta name="description" content="{{ trim (. | plainify) "\n" | safeHTML }}" />
|
||||
{{- end }}
|
||||
{{- with $keywords }}
|
||||
<meta name="keywords" content="{{ delimit . "," }}" />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue