From 14ec0f119124a5afd48108da68a1eafd29d374be Mon Sep 17 00:00:00 2001 From: Emil Miler Date: Thu, 8 Oct 2020 10:46:54 +0200 Subject: [PATCH] =?UTF-8?q?P=C5=99idat=20'safe'=20pro=20v=C3=BDpis=20obsah?= =?UTF-8?q?u?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Je třeba použít 'safe', aby bylo možné používat HTML v popisu stránky/sekce, například  . --- templates/page.html | 2 +- templates/software.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/page.html b/templates/page.html index 5213118..bc88b6b 100644 --- a/templates/page.html +++ b/templates/page.html @@ -4,7 +4,7 @@

{{ page.title }}

-

{{ page.description }}

+

{{ page.description | safe }}

{% if page.extra.mainimage %} {{ page.extra.mainimage }} diff --git a/templates/software.html b/templates/software.html index 72d6ca1..a206c67 100644 --- a/templates/software.html +++ b/templates/software.html @@ -13,7 +13,7 @@ {% else %}

{{ page.title }}

{% endif %} -

{{ page.description }}

+

{{ page.description | safe }}

{% if page.extra.positive and page.extra.negative %}