Label after link

main
Bob Mottram 2020-09-05 12:34:41 +01:00
parent 4763226f70
commit 991c84ccab
1 changed files with 2 additions and 3 deletions

View File

@ -4243,13 +4243,12 @@ def individualPostAsHtml(allowDownloads: bool,
likeStr += \
'<img loading="lazy" title="' + likeTitle + likeCountStr + \
'" alt="' + likeTitle + \
' |" src="/' + iconsDir + '/' + likeIcon + '"/>'
' |" src="/' + iconsDir + '/' + likeIcon + '"/></a>\n'
if likeCountStr:
# show the number of likes next to icon
likeStr += '<label class="likesCount">'
likeStr += likeCountStr.replace('(', '').replace(')', '').strip()
likeStr += '</label>'
likeStr += '</a>\n'
likeStr += '</label>\n'
# benchmark 12.5
if not allowDownloads: