diff --git a/webinterface.py b/webinterface.py
index a169361e2..dc2800be4 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -6074,14 +6074,15 @@ def htmlProfileAfterSearch(recentPostsCache: {}, maxRecentPosts: int,
if len(profileDescriptionShort) > 256:
profileDescriptionShort = ''
# remove formatting from profile description used on title
- avatarDescription = ''
+ avatarDescription = ' '
if profileJson.get('summary'):
if isinstance(profileJson['summary'], str):
avatarDescription = profileJson['summary'].replace('
', '\n')
avatarDescription = avatarDescription.replace('
', '') avatarDescription = avatarDescription.replace('
', '') profileStr = '