Remove safe_mode since it is not safe.

This commit is contained in:
Michael J. Schultz 2015-11-05 10:47:56 -06:00
parent 2704036ad5
commit 276bc3bc2b

View File

@ -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