Add back one of the spaces

pull/223/head
Chuck 2024-02-18 16:17:26 -08:00
parent 114e1da100
commit 9ad8f2fc6b
1 changed files with 1 additions and 0 deletions

View File

@ -332,6 +332,7 @@ def settings_personal_post(v):
bio = process_files(request.files, v, bio)
if len(bio) > BIO_FRIENDS_ENEMIES_LENGTH_LIMIT:
abort(400, f'Your bio is too long (max {BIO_FRIENDS_ENEMIES_LENGTH_LIMIT} characters)')
bio_html = sanitize(bio, blackjack="bio")
if len(bio_html) > BIO_FRIENDS_ENEMIES_HTML_LENGTH_LIMIT:
abort(400, "Your rendered bio is too long!")