From 83c15af66f1ed7e1ceb7b5e93590d6bfaa8bb678 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 28 Jul 2023 14:40:57 +0100 Subject: [PATCH] More lines permitted within short description --- webapp_profile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webapp_profile.py b/webapp_profile.py index 55784e77b..09d455416 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -1071,11 +1071,11 @@ def html_profile(signing_priv_key_pem: str, profile_description_short = profile_description if '\n' in profile_description: - if len(profile_description.split('\n')) > 2: + if len(profile_description.split('\n')) > 4: profile_description_short = '' else: if '
' in profile_description: - if len(profile_description.split('
')) > 2: + if len(profile_description.split('
')) > 4: profile_description_short = '' profile_description = profile_description.replace('
', '\n') # keep the profile description short