diff --git a/vanilla/webapp/app.py b/vanilla/webapp/app.py index 6e95b91..8905bee 100644 --- a/vanilla/webapp/app.py +++ b/vanilla/webapp/app.py @@ -203,7 +203,8 @@ def global_template_context(): @app.template_filter() def markdown(text): - return markupsafe.Markup(mistune.html(text)) + markdown = mistune.create_markdown(escape=False) + return markupsafe.Markup(markdown(text)) def class_reference(component=None):