From 997380152e45a6145e7e4d86f9583a17cff5b400 Mon Sep 17 00:00:00 2001 From: Sachi King Date: Sun, 23 Apr 2017 11:27:59 +1000 Subject: [PATCH] Silence MARKDOWN debug --- symposion/markdown_parser.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/symposion/markdown_parser.py b/symposion/markdown_parser.py index f5495336..f123be47 100644 --- a/symposion/markdown_parser.py +++ b/symposion/markdown_parser.py @@ -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'])