From a4461d18a3a4b1a8317747242465f1c7f7caa08f Mon Sep 17 00:00:00 2001 From: ubq323 Date: Tue, 15 Jun 2021 00:35:11 +0000 Subject: apparently deleting posts was broken for some time, but now it isn't --- apioforum/thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apioforum/thread.py b/apioforum/thread.py index 12ced72..14450af 100644 --- a/apioforum/thread.py +++ b/apioforum/thread.py @@ -72,7 +72,7 @@ def delete_post(post_id): flash("post deleted deletedly") return redirect(url_for("thread.view_thread",thread_id=post["thread"])) else: - return render_template("delete_post.html",post=post,rendered_content=render_md(post["content"])) + return render_template("delete_post.html",post=post,rendered_content=render(post["content"])) @bp.route("/edit_post/",methods=["GET","POST"]) -- cgit v1.2.3