From 19c39306786a92a3d040ed6d1080d5bac4ab78d1 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Mon, 13 Sep 2021 13:49:01 +0200 Subject: [PATCH] fd --- files/routes/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/users.py b/files/routes/users.py index 68e639e4d9..9e8999b264 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -256,7 +256,7 @@ def messagereply(v): if existing.parent_comment_id: return redirect(f'/notifications?messages=true#comment-{existing.parent_comment_id}') else: return redirect(f'/notifications?messages=true#comment-{existing.id}') - text_html = CustomRenderer().render(mistletoe.Document(message)) + text_html = mistletoe.Document(message) text_html = sanitize(text_html, True) new_comment = Comment(author_id=v.id, parent_submission=None,