From a505a844a32cdbb4321696fda11c1a07ce5af604 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 1 Nov 2019 22:23:34 +0000 Subject: [PATCH] Show empty string if avatar is not available --- webinterface.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/webinterface.py b/webinterface.py index 5ed009cf7..8924e89f9 100644 --- a/webinterface.py +++ b/webinterface.py @@ -1387,7 +1387,7 @@ def individualFollowAsHtml(translate: {}, \ return \ '
\n' \ '' \ - '

\n'+ \ + '

\n'+ \ titleStr+''+buttonsStr+'

' \ '
\n' @@ -1839,7 +1839,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ '' \ '' + '" alt=""'+avatarPosition+'/>' else: titleStr+=' @'+announceNickname+'@'+announceDomain+'' else: @@ -1878,7 +1878,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ '' \ '' + '" alt=""'+avatarPosition+'/>' else: titleStr+=' @'+replyNickname+'@'+replyDomain+'' else: @@ -2002,7 +2002,7 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \ avatarImageInPost= \ '
' \ ' ' \ - ' ' \ + ' ' \ '
' if showAvatarOptions and fullDomain+'/users/'+nickname not in postActor: