Image class

main
Bob Mottram 2022-04-19 12:48:18 +01:00
parent 914d35403f
commit 51b086ca9b
1 changed files with 3 additions and 2 deletions

View File

@ -1699,8 +1699,9 @@ def html_common_emoji(base_dir: str, no_of_emoji: int) -> str:
# NOTE: deliberately no alt text, so that without graphics only # NOTE: deliberately no alt text, so that without graphics only
# the emoji name shows # the emoji name shows
html_str += \ html_str += \
'<label class="hashtagswarm" id="commonemojilabel">' + \ '<label class="hashtagswarm">' + \
'<img loading="lazy" decoding="async" ' + \ '<img class="commonemojilabel" ' + \
'loading="lazy" decoding="async" ' + \
'src="/emoji/' + emoji_name + '.png" ' + \ 'src="/emoji/' + emoji_name + '.png" ' + \
'alt="" title="">' + \ 'alt="" title="">' + \
':' + emoji_name + ':</label>\n' ':' + emoji_name + ':</label>\n'