From 5cf84048f7cce114d3aa0030c11a436845c306b0 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 26 Jan 2025 11:40:16 +0100 Subject: [PATCH] Fix "raw" view being autoescaped into garbage. --- templates/_macros.tmpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 %} -- 2.30.2