From f79d83b4dac17dc44d11cde3da4c443b60a85dde Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 24 Feb 2022 11:27:42 +0200 Subject: [PATCH] sfd --- files/routes/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)}