master
Aevann1 2021-09-03 19:12:14 +02:00
parent d2b303fe68
commit 0384d4a5b3
1 changed files with 0 additions and 1 deletions

View File

@ -657,7 +657,6 @@ def edit_comment(cid, v):
else: url = upload_imgur(file)
body += f"\n![]({url})"
body = body.replace("\n", "\n\n").replace("\n\n\n\n\n\n", "\n\n").replace("\n\n\n\n", "\n\n").replace("\n\n\n", "\n\n")
with CustomRenderer(post_id=c.parent_submission) as renderer:
body_md = renderer.render(mistletoe.Document(body))
body_html = sanitize(body_md)