From 22703a5972458091fd6e783b23798fcb0f300782 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Sat, 21 Jul 2018 19:38:44 +0200 Subject: [PATCH] Remove unsupported kwargs --- webserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserver.py b/webserver.py index e51d70f6..b0d73876 100644 --- a/webserver.py +++ b/webserver.py @@ -176,7 +176,7 @@ 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), output_format="html5"), + 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)