use escape
This commit is contained in:
parent
1af5f6c357
commit
c255b5398d
|
@ -18,7 +18,7 @@
|
|||
{% endif %}
|
||||
{% endif %}
|
||||
{% if seo_title %}
|
||||
{% assign seo_title = seo_title | replace:'"','"' | markdownify | strip_html | strip_newlines | replace:'"','"' | escape_once %}
|
||||
{% assign seo_title = seo_title | escape | markdownify | strip_html | strip_newlines | replace:'"','"' | escape_once %}
|
||||
{% endif %}
|
||||
|
||||
{% if page.description %}
|
||||
|
@ -27,7 +27,7 @@
|
|||
{% assign seo_description = site.description %}
|
||||
{% endif %}
|
||||
{% if seo_description %}
|
||||
{% assign seo_description = seo_description | replace:'"','"' | markdownify | strip_html | strip_newlines | replace:'"','"' | escape_once %}
|
||||
{% assign seo_description = seo_description | escape | markdownify | strip_html | strip_newlines | replace:'"','"' | escape_once %}
|
||||
{% endif %}
|
||||
|
||||
{% if seo_title %}
|
||||
|
|
Loading…
Reference in New Issue