fix repeated linebreaks in snappy quotes

pull/199/head
Aevann 2023-09-13 01:08:34 +03:00
parent cc22f009c2
commit 8d90e76805
1 changed files with 1 additions and 1 deletions

View File

@ -251,7 +251,7 @@ def comment(v):
body_for_checking = '\n{[para]}\n' + body + '\n{[para]}\n'
if body_for_checking in f.read():
abort(400, "Snappy quote already exists!")
f.write('\n{[para]}\n' + body)
f.write('{[para]}\n' + body)
body_for_sanitize = body
if v.owoify: body_for_sanitize = owoify(body_for_sanitize)