Indentation

main
Bob Mottram 2020-09-30 22:21:43 +01:00
parent cbd19d6ddf
commit 8567aaa341
1 changed files with 6 additions and 3 deletions

View File

@ -4751,9 +4751,10 @@ def individualPostAsHtml(allowDownloads: bool,
if replyAvatarUrl: if replyAvatarUrl:
replyAvatarImageInPost = \ replyAvatarImageInPost = \
'<div class=' + \ ' <div class=' + \
'"timeline-avatar-reply">\n' '"timeline-avatar-reply">\n'
replyAvatarImageInPost += \ replyAvatarImageInPost += \
' ' + \
'<a class="imageAnchor" ' + \ '<a class="imageAnchor" ' + \
'href="/users/' + nickname + \ 'href="/users/' + nickname + \
'?options=' + replyActor + \ '?options=' + replyActor + \
@ -4761,6 +4762,7 @@ def individualPostAsHtml(allowDownloads: bool,
replyAvatarUrl + \ replyAvatarUrl + \
messageIdStr + '">\n' messageIdStr + '">\n'
replyAvatarImageInPost += \ replyAvatarImageInPost += \
' ' + \
'<img loading="lazy" src="' + \ '<img loading="lazy" src="' + \
replyAvatarUrl + '" ' replyAvatarUrl + '" '
replyAvatarImageInPost += \ replyAvatarImageInPost += \
@ -4768,7 +4770,8 @@ def individualPostAsHtml(allowDownloads: bool,
translate['Show profile'] translate['Show profile']
replyAvatarImageInPost += \ replyAvatarImageInPost += \
'" alt=" "' + \ '" alt=" "' + \
avatarPosition + '/></a>\n</div>\n' avatarPosition + '/></a>\n' + \
' </div>\n'
else: else:
inReplyTo = \ inReplyTo = \
postJsonObject['object']['inReplyTo'] postJsonObject['object']['inReplyTo']
@ -4987,7 +4990,7 @@ def individualPostAsHtml(allowDownloads: bool,
' ' + titleStr + \ ' ' + titleStr + \
replyAvatarImageInPost + ' </p>\n' replyAvatarImageInPost + ' </p>\n'
postHtml += contentStr + footerStr + '\n' postHtml += contentStr + footerStr + '\n'
postHtml += '</div>\n' postHtml += ' </div>\n'
else: else:
postHtml = galleryStr postHtml = galleryStr