From b336eab85b5b07b362abcc78a58d1ac8ed578532 Mon Sep 17 00:00:00 2001 From: Lars Olesen Date: Wed, 3 Jun 2020 04:21:10 +0200 Subject: [PATCH] Strip trailing whitespace in seo_description (#2542) --- _includes/seo.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/seo.html b/_includes/seo.html index bf2c89d9..9b60b7bb 100644 --- a/_includes/seo.html +++ b/_includes/seo.html @@ -22,7 +22,7 @@ {%- assign seo_description = page.description | default: page.excerpt | default: site.description -%} {%- if seo_description -%} - {%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '
', ' ' | escape_once -%} + {%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '
', ' ' | escape_once | strip -%} {%- endif -%} {%- assign author = page.author | default: page.authors[0] | default: site.author -%}