Skip to content

Commit

Permalink
Fix wrong newline concatenation in SEO description, resolves mmistake…
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug authored and mmistakes committed Jan 14, 2020
1 parent 819a9f4 commit ceadaac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/seo.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 | strip_newlines | escape_once -%}
{%- assign seo_description = seo_description | markdownify | strip_html | newline_to_br | strip_newlines | replace: '<br />', ' ' | escape_once -%}
{%- endif -%}

{%- assign author = page.author | default: page.authors[0] | default: site.author -%}
Expand Down

0 comments on commit ceadaac

Please sign in to comment.