From 6ba9fdc873fe4303f236e0125ec89ad7da44d678 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 10 May 2022 10:08:29 +0100 Subject: [PATCH] Allow longer profile descriptions --- webapp_profile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp_profile.py b/webapp_profile.py index fbb29ca8d..cbc9ab419 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -254,7 +254,7 @@ def html_profile_after_search(css_cache: {}, if len(profile_description.split('
')) > 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('
', '\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 = ''