From b3597e19a60a2cc045e0771f7b81689294a1b782 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 28 Jun 2020 10:35:57 +0100 Subject: [PATCH] Default to space --- webinterface.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 = '
' - profileStr += '
' + profileStr += '
' + print('avatarDescription: ' + str(avatarDescription)) profileStr += \ '