aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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"])