diff --git a/files/routes/comments.py b/files/routes/comments.py index 672c9acfe8..36bff5aa68 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -684,7 +684,7 @@ def api_comment(v): g.db.commit() if request.headers.get("Authorization"): return c.json - return {"comment": c.body_html} + return {"comment": render_template("comments.html", v=v, comments=[c], ajax=True)}