diff --git a/apiserver/utils.py b/apiserver/utils.py index d4cfeb5..9fbe3ee 100644 --- a/apiserver/utils.py +++ b/apiserver/utils.py @@ -23,35 +23,36 @@ ALLOWED_TAGS = [ 'acronym', 'b', 'blockquote', + 'br', 'code', + 'del', + 'details', 'em', + 'h1', + 'h2', + 'h3', + 'h4', + 'h5', + 'h6', + 'hr', 'i', + 'ins', 'li', 'ol', - 'strong', - 'ul', 'p', - 'hr', + 'pre', 'small', - 'ins', - 'sup', + 'strong', 'sub', - 'details', 'summary', - 'br', - 'pre', - 'h1', - 'h2', - 'h3', - 'h4', - 'h5', - 'h6', + 'sup', 'table', + 'tbody', + 'td', + 'th', 'thead', 'tr', - 'th', - 'td', - 'tbody', + 'ul', ] clean = Cleaner(tags=ALLOWED_TAGS).clean