diff --git a/webinterface.py b/webinterface.py
index 6f60ed4f..6f215b87 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -1260,6 +1260,10 @@ def htmlProfile(translate: {},projectVersion: str, \
if len(profileDescription.split('
'))>2:
profileDescriptionShort=''
profileDescription=profileDescription.replace('
','\n')
+ # keep the profile description short
+ if len(profileDescriptionShort)>256:
+ profileDescriptionShort=''
+ # remove formatting from profile description used on title
avatarDescription=''
if profileJson.get('summary'):
avatarDescription=profileJson['summary'].replace('
','\n').replace('
','').replace('
','') @@ -3233,6 +3237,10 @@ def htmlProfileAfterSearch(translate: {}, \ if '','').replace('
','')