From 9134a16b42c68969b9cdbf06136ec371f2471bd0 Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson <frjo@xdeb.org> Date: Wed, 13 Mar 2019 15:21:57 +0100 Subject: [PATCH] Update BLEACH_ALLOWED_TAGS. --- opentech/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opentech/settings/base.py b/opentech/settings/base.py index ca17c3ff6..d452e3718 100644 --- a/opentech/settings/base.py +++ b/opentech/settings/base.py @@ -428,7 +428,7 @@ SOCIAL_AUTH_PIPELINE = ( ) # Bleach Settings -BLEACH_ALLOWED_TAGS = ['h2', 'h3', 'p', 'b', 'i', 'em', 'strong', 'a', 'ul', 'ol', 'li', 'br', 'span'] +BLEACH_ALLOWED_TAGS = ['a', 'b', 'big', 'blockquote', 'br', 'cite', 'code', 'dd', 'del', 'dl', 'dt', 'em', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'ins', 'li', 'ol', 'p', 'pre', 'small', 'span', 'strong', 'sub', 'sup', 'ul'] BLEACH_ALLOWED_ATTRIBUTES = ['href', 'title', 'class'] -- GitLab