fix issue with code blocks

master
Aevann1 2022-07-01 01:01:10 +02:00
parent d9844231c7
commit cba02b9e4b
1 changed files with 2 additions and 1 deletions

View File

@ -335,6 +335,7 @@ def sanitize(sanitized, edit=False):
if bans: abort(403, description=f"Remove the banned domains {bans} and try again!")
if '<pre>' not in sanitized:
sanitized = sanitized.replace('\n','')
if len(sanitized) > 5000: