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,