diff --git a/files/routes/comments.py b/files/routes/comments.py index d9a56dd71..819646d10 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -236,7 +236,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('\n{[para]}\n' + body + '\n') body_for_sanitize = body if v.owoify: body_for_sanitize = owoify(body_for_sanitize)