Allow <pre> tags in comments

This is useful for code blocks.
This commit is contained in:
Sybren A. Stüvel 2017-09-13 15:34:36 +02:00
parent 896784a351
commit f89bec5089

View File

@ -15,7 +15,7 @@ ALLOWED_TAGS = [
'del', 'kbd',
'dl', 'dt', 'dd',
'blockquote',
'code',
'code', 'pre',
'li', 'ol', 'ul',
'h1', 'h2', 'h3', 'h4', 'h5', 'h6',
'p', 'br', 'hr',