From 1d4075f368cd688af89211226df182052fbaf512 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sun, 15 Nov 2015 23:01:49 +0200 Subject: printing_templates: mark 'dive.notes' as 'safe' Grantlee has a way to display a variable as HTML by marking it as 'safe' e.g.: {{ dive.notes|safe }} This allows any HTML to be preserved when printing. Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- printing_templates/Flowlayout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'printing_templates/Flowlayout.html') diff --git a/printing_templates/Flowlayout.html b/printing_templates/Flowlayout.html index 2615c35a8..21691c22b 100644 --- a/printing_templates/Flowlayout.html +++ b/printing_templates/Flowlayout.html @@ -197,7 +197,7 @@
-

{{ dive.notes }}

+

{{ dive.notes|safe }}

-- cgit v1.2.3-70-g09d2