forked from rDrama/rDrama
master
parent
b066e685ff
commit
19c3930678
|
@ -256,7 +256,7 @@ def messagereply(v):
|
||||||
if existing.parent_comment_id: return redirect(f'/notifications?messages=true#comment-{existing.parent_comment_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}')
|
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)
|
text_html = sanitize(text_html, True)
|
||||||
new_comment = Comment(author_id=v.id,
|
new_comment = Comment(author_id=v.id,
|
||||||
parent_submission=None,
|
parent_submission=None,
|
||||||
|
|
Loading…
Reference in New Issue