mirror of https://gitlab.com/bashrc2/epicyon
Handle cases with no avatar image
parent
b3597e19a6
commit
bdfd1c1030
|
@ -6082,7 +6082,7 @@ def htmlProfileAfterSearch(recentPostsCache: {}, maxRecentPosts: int,
|
|||
avatarDescription = avatarDescription.replace('</p>', '')
|
||||
profileStr = ' <div class="hero-image">'
|
||||
profileStr += ' <div class="hero-text">'
|
||||
print('avatarDescription: ' + str(avatarDescription))
|
||||
if avatarUrl:
|
||||
profileStr += \
|
||||
' <img loading="lazy" src="' + avatarUrl + \
|
||||
'" alt="' + avatarDescription + '" title="' + \
|
||||
|
|
Loading…
Reference in New Issue