diff --git a/layouts/partials/head/meta.html b/layouts/partials/head/meta.html index 761fe1c..4cc4ddb 100644 --- a/layouts/partials/head/meta.html +++ b/layouts/partials/head/meta.html @@ -7,7 +7,7 @@ {{ $keywords := default .Site.Params.Keywords .Keywords }} {{- with partial "utils/description" . }} - + {{- end }} {{- with $keywords }} diff --git a/layouts/partials/microformats/opengraph.html b/layouts/partials/microformats/opengraph.html index 1065cb9..bd4b5a9 100644 --- a/layouts/partials/microformats/opengraph.html +++ b/layouts/partials/microformats/opengraph.html @@ -5,7 +5,7 @@ {{- end }} {{- with partial "utils/description" . }} - + {{- end }} diff --git a/layouts/partials/microformats/schema.html b/layouts/partials/microformats/schema.html index c610c70..9175cef 100644 --- a/layouts/partials/microformats/schema.html +++ b/layouts/partials/microformats/schema.html @@ -8,7 +8,7 @@ "name": "{{ .Site.Title }}", "url": "{{ .Site.BaseURL }}", {{- with partial "utils/description" . }} - "description": "{{ trim (. | plainify) "\n" }}", + "description": "{{ trim (. | plainify) "\n" | safeHTML }}", {{- end }} "thumbnailUrl": "{{ $thumbnail }}" {{- with .Site.Params.GeekdocContentLicense }}, @@ -26,7 +26,7 @@ "headline": "{{ (partial "utils/title" .) | safeJS }}", "alternativeHeadline": "{{ .Params.lead }}", {{- with partial "utils/description" . }} - "description": "{{ trim (. | plainify) "\n" }}", + "description": "{{ trim (. | plainify) "\n" | safeHTML }}", {{- end }} "inLanguage": {{ .Site.Language.Lang }}, "isFamilyFriendly": "true", diff --git a/layouts/partials/microformats/twitter_cards.html b/layouts/partials/microformats/twitter_cards.html index 55097be..86f96d4 100644 --- a/layouts/partials/microformats/twitter_cards.html +++ b/layouts/partials/microformats/twitter_cards.html @@ -21,7 +21,7 @@ {{- end }} {{- with partial "utils/description" . }} - + {{- end }} {{- with .Site.Social.twitter -}}