This commit is contained in:
Aevann1 2021-09-13 13:49:01 +02:00
parent bcd3252777
commit 872f5e7289

View file

@ -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,