1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2025-03-11 02:57:31 +00:00

Close parenthesis correctly

This commit is contained in:
Steffo 2018-07-21 19:40:48 +02:00
parent 22703a5972
commit 4e825af92e

View file

@ -176,8 +176,8 @@ def page_wiki(key: str):
db_session.close()
if wiki_page is None:
return render_template("wiki.html", key=key)
converted_md = Markup(markdown2.markdown(escape(wiki_page.content)),
extras=["spoiler", "tables"])
converted_md = Markup(markdown2.markdown(escape(wiki_page.content),
extras=["spoiler", "tables"]))
return render_template("wiki.html", key=key, wiki_page=wiki_page, converted_md=converted_md,
wiki_log=wiki_latest_edit)
elif request.method == "POST":