Add del tag and sort tags

master
Tanner Collin 4 years ago
parent ced20390eb
commit 9078b567f0
  1. 35
      apiserver/utils.py

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

Loading…
Cancel
Save