From 29540525809643494584995437fb9c980da3c379 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Sat, 20 Nov 2021 10:06:13 +0100 Subject: [PATCH] Allow HTML in descriptions Security consideration: This allows users to do XSS on people. But we trust our users :-) --- wishlist/templates/wishlist/item.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wishlist/templates/wishlist/item.html b/wishlist/templates/wishlist/item.html index 6ade95c..a5a700e 100644 --- a/wishlist/templates/wishlist/item.html +++ b/wishlist/templates/wishlist/item.html @@ -2,6 +2,6 @@ {% block content %}

Item: {{ object.name }}

-

{{ object.description }}

+

{{ object.description | safe }}

{% endblock %}