From 3b04b39d6698fc66ca1fba2ae8196ab49c99a166 Mon Sep 17 00:00:00 2001 From: philipp Date: Fri, 12 Apr 2024 11:32:21 +0200 Subject: [PATCH] allow html in notifications --- templates/index.html.tera | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/index.html.tera b/templates/index.html.tera index 8bcb4f9..95a1bb7 100644 --- a/templates/index.html.tera +++ b/templates/index.html.tera @@ -22,7 +22,7 @@ {{ notification.category }} • {{ notification.created_at | date(timezone="Europe/Vienna", format="%d.%m.%Y %H:%M",) }} -
{{ notification.message }}
+
{{ notification.message | safe}}
{% if not notification.read_at %} @@ -47,7 +47,7 @@ {{ notification.category }} • {{ notification.created_at | date(timezone="Europe/Vienna", format="%d.%m.%Y %H:%M") }} -
{{ notification.message }}
+
{{ notification.message | safe}}
{% endif %} {% endfor %} -- 2.45.2