From: Christian Heller Date: Sun, 26 Jan 2025 10:40:16 +0000 (+0100) Subject: Fix "raw" view being autoescaped into garbage. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/static/%7B%7Bprefix%7D%7D/balance2?a=commitdiff_plain;h=5cf84048f7cce114d3aa0030c11a436845c306b0;p=plomledger Fix "raw" view being autoescaped into garbage. --- diff --git a/templates/_macros.tmpl b/templates/_macros.tmpl index c1a9a40..850f4c5 100644 --- a/templates/_macros.tmpl +++ b/templates/_macros.tmpl @@ -24,9 +24,9 @@ td.invalid, tr.warning td.invalid { background-color: #ff0000; } {% if raw %} {% if dat_line.is_intro %} - {{dat_line.raw_nbsp}} + {{dat_line.raw_nbsp|safe}} {% else %} - {{dat_line.raw_nbsp}} + {{dat_line.raw_nbsp|safe}} {% endif %} {% else %}