From f505eaf8a0287141a4b796d7de8bd9c8189f947b 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 bf2c89d..9b60b7b 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 -%} -- 2.45.2