aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/tplimpl/embedded/templates/opengraph.html
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/tplimpl/embedded/templates/opengraph.html')
-rw-r--r--tpl/tplimpl/embedded/templates/opengraph.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/tpl/tplimpl/embedded/templates/opengraph.html b/tpl/tplimpl/embedded/templates/opengraph.html
index 59e63d6be..9f40aedf0 100644
--- a/tpl/tplimpl/embedded/templates/opengraph.html
+++ b/tpl/tplimpl/embedded/templates/opengraph.html
@@ -8,8 +8,8 @@
<meta property="og:title" content="{{ . }}">
{{- end }}
-{{- with or .Description .Summary site.Params.description | plainify | htmlUnescape | chomp }}
- <meta property="og:description" content="{{ . }}">
+{{- with or .Description .Summary site.Params.description | plainify | htmlUnescape }}
+ <meta property="og:description" content="{{ trim . "\n\r\t " }}">
{{- end }}
{{- with or .Params.locale site.Language.LanguageCode }}