Silence MARKDOWN debug
This commit is contained in:
parent
21b2a01a84
commit
997380152e
1 changed files with 5 additions and 0 deletions
|
@ -1,7 +1,12 @@
|
|||
import logging
|
||||
|
||||
import bleach
|
||||
import markdown
|
||||
|
||||
|
||||
logger = logging.getLogger('MARKDOWN')
|
||||
logger.setLevel(logging.INFO)
|
||||
|
||||
tags = bleach.sanitizer.ALLOWED_TAGS[:]
|
||||
tags.extend(['p', 'pre'])
|
||||
|
||||
|
|
Loading…
Reference in a new issue