From f5be4d68d158ffb6446b36b50241a1696082c7c5 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Mon, 4 Jun 2018 08:28:09 +0200 Subject: [PATCH] info and shop should use the |trustedcommonmark filter --- src/info/templates/info.html | 2 +- src/shop/templates/product_detail.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/info/templates/info.html b/src/info/templates/info.html index baab8900..b44ac148 100644 --- a/src/info/templates/info.html +++ b/src/info/templates/info.html @@ -57,7 +57,7 @@ Info | {{ block.super }}
-

{{ item.body|untrustedcommonmark }}

+

{{ item.body|trustedcommonmark }}

{% endfor %} diff --git a/src/shop/templates/product_detail.html b/src/shop/templates/product_detail.html index a92f7516..87d77ab9 100644 --- a/src/shop/templates/product_detail.html +++ b/src/shop/templates/product_detail.html @@ -13,7 +13,7 @@

{{ product.name }}

- {{ product.description|untrustedcommonmark }} + {{ product.description|trustedcommonmark }}