remove unnecessary xml escaping from templates

This commit is contained in:
facundoolano 2024-02-25 11:35:51 -03:00
parent add8a7d6c3
commit dd94738555
2 changed files with 6 additions and 6 deletions

View file

@ -23,9 +23,9 @@
{% endif %} {% endif %}
{% if page.excerpt %} {% if page.excerpt %}
<meta name="description" content="{{ page.excerpt | strip_html | xml_escape }}"> <meta name="description" content="{{ page.excerpt }}">
<meta name="og:description" content="{{ page.excerpt | strip_html | xml_escape }}"> <meta name="og:description" content="{{ page.excerpt }}">
<meta name="twitter:description" content="{{ page.excerpt | strip_html | xml_escape }}"> <meta name="twitter:description" content="{{ page.excerpt }}">
{% endif %} {% endif %}
{% if page.layout == "post" %} {% if page.layout == "post" %}

View file

@ -23,9 +23,9 @@
{% endif %} {% endif %}
{% if page.excerpt %} {% if page.excerpt %}
<meta name="description" content="{{ page.excerpt | strip_html | xml_escape }}"> <meta name="description" content="{{ page.excerpt }}">
<meta name="og:description" content="{{ page.excerpt | strip_html | xml_escape }}"> <meta name="og:description" content="{{ page.excerpt }}">
<meta name="twitter:description" content="{{ page.excerpt | strip_html | xml_escape }}"> <meta name="twitter:description" content="{{ page.excerpt }}">
{% endif %} {% endif %}
{% if page.layout == "post" %} {% if page.layout == "post" %}