Commit 572ea9e4 authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Harden commonmark2html function

parent 5dbf63b9
......@@ -76,7 +76,13 @@ blueprint = flask.Blueprint('filters', __name__)
def commonmark2html(context, value):
if not value:
return value
return commonmark(value)
except Exception as ex:
return value
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment