mirror of https://gitlab.com/bashrc2/epicyon
Profile emoji on alt
parent
24cd4d56f5
commit
1e3ca2b622
|
|
@ -244,15 +244,19 @@ def _getAvatarImageHtml(showAvatarOptions: bool,
|
||||||
';' + str(pageNumber) + ';' + avatarUrl + messageIdStr + '">\n'
|
';' + str(pageNumber) + ';' + avatarUrl + messageIdStr + '">\n'
|
||||||
avatarLink += \
|
avatarLink += \
|
||||||
' <img loading="lazy" title="' + \
|
' <img loading="lazy" title="' + \
|
||||||
translate['Show options for this person'] + \
|
translate['Show options for this person'] + '" ' + \
|
||||||
'" src="' + avatarUrl + '" ' + avatarPosition + \
|
'alt="👤 ' + \
|
||||||
|
translate['Show options for this person'] + '" ' + \
|
||||||
|
'src="' + avatarUrl + '" ' + avatarPosition + \
|
||||||
getBrokenLinkSubstitute() + '/></a>\n'
|
getBrokenLinkSubstitute() + '/></a>\n'
|
||||||
else:
|
else:
|
||||||
# don't link to the person options for the news account
|
# don't link to the person options for the news account
|
||||||
avatarLink += \
|
avatarLink += \
|
||||||
' <img loading="lazy" title="' + \
|
' <img loading="lazy" title="' + \
|
||||||
translate['Show options for this person'] + \
|
translate['Show options for this person'] + '" ' + \
|
||||||
'" src="' + avatarUrl + '" ' + avatarPosition + \
|
'alt="👤 ' + \
|
||||||
|
translate['Show options for this person'] + '" ' + \
|
||||||
|
'src="' + avatarUrl + '" ' + avatarPosition + \
|
||||||
getBrokenLinkSubstitute() + '/>\n'
|
getBrokenLinkSubstitute() + '/>\n'
|
||||||
return avatarLink.strip()
|
return avatarLink.strip()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue