Unicode fix
This commit is contained in:
parent
2267a810c4
commit
7184d9ad3c
|
@ -163,7 +163,7 @@ def render_markdown(body, html_escape=True, extensions=None, blacklist=None):
|
||||||
for ext in blacklist:
|
for ext in blacklist:
|
||||||
args["extensions"].remove(str(ext))
|
args["extensions"].remove(str(ext))
|
||||||
|
|
||||||
return '<div class="markdown">{}</div>'.format(
|
return u'<div class="markdown">{}</div>'.format(
|
||||||
markdown.markdown(body, **args)
|
markdown.markdown(body, **args)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user