aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-06-15 00:35:11 +0000
committerubq323 <ubq323>2021-06-15 00:35:11 +0000
commita4461d18a3a4b1a8317747242465f1c7f7caa08f (patch)
tree89e254539a182c8b07688e795cbe1be3e21aaefb
parent4bdf927a717fb3c4a4d21991072d4b3d3a639ed7 (diff)
apparently deleting posts was broken for some time, but now it isn't
-rw-r--r--apioforum/thread.py2
1 files changed, 1 insertions, 1 deletions
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/<int:post_id>",methods=["GET","POST"])