From 9186205cb1a3cfe17b7a9bd69811798363ccb365 Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Sat, 27 Feb 2021 10:58:24 +0100 Subject: [PATCH] =?UTF-8?q?Safe=20HTML=20v=20n=C3=A1zvech?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/article.html | 2 +- templates/page.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/article.html b/templates/article.html index ab150cf..7be79a1 100644 --- a/templates/article.html +++ b/templates/article.html @@ -2,7 +2,7 @@ {% block content %}
-

{{ page.title }}

+

{{ page.title | safe }}

{% if page.extra.author %} {% endif %} diff --git a/templates/page.html b/templates/page.html index 514186e..cf6a1a5 100644 --- a/templates/page.html +++ b/templates/page.html @@ -8,7 +8,7 @@ {% block content %}
-

{{ page.title }}

+

{{ page.title | safe }}

{{ page.description | safe }}

{% if page.extra.mainimage %} @@ -25,9 +25,9 @@ {% for page in section.pages %} {% if page.extra.short_title %} - {{ page.extra.short_title }} + {{ page.extra.short_title | safe }} {% else %} - {{ page.title }} + {{ page.title | safe }} {% endif %} {% endfor %}