~netlandish/django-wiki

b0e72c1bdba2b1c8038a5090cad281127a66f597 — Mads Jensen 5 years ago cccf6d5
Corrected permitted h-level tags.

h0 and h7 don't exist.
1 files changed, 1 insertions(+), 1 deletions(-)

M src/wiki/conf/settings.py
M src/wiki/conf/settings.py => src/wiki/conf/settings.py +1 -1
@@ 84,7 84,7 @@ _default_tag_whitelists = bleach.ALLOWED_TAGS + [
    'dl',
    'dt',
    'dd',
] + ['h{}'.format(n) for n in range(8)]
] + ['h{}'.format(n) for n in range(1, 7)]


#: List of allowed tags in Markdown article contents.