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',
'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

Loading…
Cancel
Save