diff --git a/webinterface.py b/webinterface.py index dc2800be4..ec8ff6280 100644 --- a/webinterface.py +++ b/webinterface.py @@ -6074,7 +6074,7 @@ 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') @@ -6082,11 +6082,11 @@ def htmlProfileAfterSearch(recentPostsCache: {}, maxRecentPosts: int, avatarDescription = avatarDescription.replace('

', '') profileStr = '
' profileStr += '
' - print('avatarDescription: ' + str(avatarDescription)) - profileStr += \ - ' ' + avatarDescription + '' + if avatarUrl: + profileStr += \ + ' ' + avatarDescription + '' profileStr += '

' + displayName + '

' profileStr += '

@' + searchNickname + '@' + \ searchDomainFull + '

'