forked from rDrama/rDrama
1
0
Fork 0

replace <br> with \n

master
Aevann 2023-05-12 22:23:29 +03:00
parent 7c334ceab7
commit aca1ac2801
1 changed files with 1 additions and 1 deletions

View File

@ -534,7 +534,7 @@ def submit_post(v:User, sub=None):
banned_domains = g.db.query(BannedDomain).all()
for x in banned_domains:
if y.startswith(x.domain):
abort(400, f'Remove the banned link "{x.domain}" and try again!<br>Reason for link ban: "{x.reason}"')
abort(400, f'Remove the banned link "{x.domain}" and try again!\nReason for link ban: "{x.reason}"')
if "twitter.com" == domain:
try: