From ec610e99c5362b7c836e4f39950e9a78b7a2f778 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Tue, 11 Oct 2022 03:43:47 -0700 Subject: [PATCH] add details and tell jinja that variables have kept themselves safe --- files/templates/errors/error.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/files/templates/errors/error.html b/files/templates/errors/error.html index 147fb0f1e4..a813bafc0b 100644 --- a/files/templates/errors/error.html +++ b/files/templates/errors/error.html @@ -10,12 +10,16 @@
- {% if img %} + {% if img -%} :#{{img}}: - {% endif %} + {%- endif %}

 			

{{code}} {{title}}

-

{{msg}}

+

{{msg|safe}}

+ {% if details -%} +
{{details|safe}}
+ {%- endif %} +
Go to frontpage