This commit is contained in:
Aevann1 2021-08-31 19:00:57 +02:00
parent 8a9b7d505e
commit 1781d04767
2 changed files with 1 additions and 2 deletions

View file

@ -183,6 +183,7 @@ def messagereply(v, username, id):
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}')
print("hi")
with CustomRenderer() as renderer: text_html = renderer.render(mistletoe.Document(message))
text_html = sanitize(text_html)
parent = get_comment(int(id), v=v)