Allow longer profile descriptions

merge-requests/30/head
Bob Mottram 2022-05-10 10:08:29 +01:00
parent f5d2a08f18
commit 6ba9fdc873
1 changed files with 2 additions and 2 deletions

View File

@ -254,7 +254,7 @@ def html_profile_after_search(css_cache: {},
if len(profile_description.split('<br>')) > 2:
profile_description_short = ''
# keep the profile description short
if len(profile_description_short) > 256:
if len(profile_description_short) > 2048:
profile_description_short = ''
# remove formatting from profile description used on title
avatar_description = ''
@ -833,7 +833,7 @@ def html_profile(signing_priv_key_pem: str,
profile_description_short = ''
profile_description = profile_description.replace('<br>', '\n')
# keep the profile description short
if len(profile_description_short) > 256:
if len(profile_description_short) > 2048:
profile_description_short = ''
# remove formatting from profile description used on title
avatar_description = ''