Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
Simplify our markdown filter
core/app.py | 3 +--
diff --git a/core/app.py b/core/app.py index fd8c81f86e67b69337933eaef650c05fdbfc6af0..1b3d402484864cf17f7f021a3aa94768a2486270 100644 --- a/core/app.py +++ b/core/app.py @@ -51,8 +51,7 @@ ))) @self.template_filter() def md(text): - mark = mistune.create_markdown(plugins=['footnotes', 'task_lists', 'url']) - return mark.parse(text) + return mistune.markdown(text) @self.errorhandler(422) def handle_unprocessable_entity(e):