Silence MARKDOWN debug

This commit is contained in:
Sachi King 2017-04-23 11:27:59 +10:00
parent 21b2a01a84
commit 997380152e

View file

@ -1,7 +1,12 @@
import logging
import bleach import bleach
import markdown import markdown
logger = logging.getLogger('MARKDOWN')
logger.setLevel(logging.INFO)
tags = bleach.sanitizer.ALLOWED_TAGS[:] tags = bleach.sanitizer.ALLOWED_TAGS[:]
tags.extend(['p', 'pre']) tags.extend(['p', 'pre'])