Commit 276bc3bc by Michael J. Schultz

Remove safe_mode since it is not safe.

parent 2704036a
......@@ -160,8 +160,7 @@ try:
"""
extensions = ['headerid(level=2)']
safe_mode = False
md = markdown.Markdown(extensions=extensions, safe_mode=safe_mode)
md = markdown.Markdown(extensions=extensions)
return md.convert(text)
except ImportError:
apply_markdown = None
......
Markdown is supported
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