Indentation

main
Bob Mottram 2020-09-30 21:26:13 +01:00
parent c113ca088b
commit bed5b5e8b3
1 changed files with 7 additions and 7 deletions

View File

@ -4155,7 +4155,7 @@ def individualPostAsHtml(allowDownloads: bool,
nickname + '?options=' + postActor + \ nickname + '?options=' + postActor + \
';' + 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 + '/></a>\n' '" src="' + avatarUrl + '" ' + avatarPosition + '/></a>\n'
avatarImageInPost = \ avatarImageInPost = \
@ -4615,7 +4615,7 @@ def individualPostAsHtml(allowDownloads: bool,
if announceAvatarUrl: if announceAvatarUrl:
idx = 'Show options for this person' idx = 'Show options for this person'
replyAvatarImageInPost = \ replyAvatarImageInPost = \
' ' \ ' ' \
'<div class="timeline-avatar-reply">\n' \ '<div class="timeline-avatar-reply">\n' \
'<a class="imageAnchor" ' + \ '<a class="imageAnchor" ' + \
'href="/users/' + nickname + \ 'href="/users/' + nickname + \
@ -4711,7 +4711,7 @@ def individualPostAsHtml(allowDownloads: bool,
boxName + ' 13.6 = ' + boxName + ' 13.6 = ' +
str(timeDiff)) str(timeDiff))
titleStr += \ titleStr += \
' <img loading="lazy" title="' + \ ' <img loading="lazy" title="' + \
translate['replying to'] + \ translate['replying to'] + \
'" alt="' + \ '" alt="' + \
translate['replying to'] + \ translate['replying to'] + \
@ -4768,7 +4768,7 @@ def individualPostAsHtml(allowDownloads: bool,
inReplyTo = \ inReplyTo = \
postJsonObject['object']['inReplyTo'] postJsonObject['object']['inReplyTo']
titleStr += \ titleStr += \
' <img loading="lazy" title="' + \ ' <img loading="lazy" title="' + \
translate['replying to'] + \ translate['replying to'] + \
'" alt="' + \ '" alt="' + \
translate['replying to'] + \ translate['replying to'] + \
@ -4781,7 +4781,7 @@ def individualPostAsHtml(allowDownloads: bool,
replyDomain + '</a>\n' replyDomain + '</a>\n'
else: else:
titleStr += \ titleStr += \
' <img loading="lazy" title="' + \ ' <img loading="lazy" title="' + \
translate['replying to'] + \ translate['replying to'] + \
'" alt="' + \ '" alt="' + \
translate['replying to'] + \ translate['replying to'] + \
@ -4801,7 +4801,7 @@ def individualPostAsHtml(allowDownloads: bool,
postDomain = postDomain.split('/', 1)[0] postDomain = postDomain.split('/', 1)[0]
if postDomain: if postDomain:
titleStr += \ titleStr += \
' <img loading="lazy" title="' + \ ' <img loading="lazy" title="' + \
translate['replying to'] + \ translate['replying to'] + \
'" alt="' + translate['replying to'] + \ '" alt="' + translate['replying to'] + \
'" src="/' + \ '" src="/' + \
@ -4976,7 +4976,7 @@ def individualPostAsHtml(allowDownloads: bool,
postHtml = ' <div id="' + timelinePostBookmark + \ postHtml = ' <div id="' + timelinePostBookmark + \
'" class="' + containerClass + '">\n' '" class="' + containerClass + '">\n'
postHtml += avatarImageInPost postHtml += avatarImageInPost
postHtml += '<p class="post-title">' + titleStr + \ postHtml += ' <p class="post-title">' + titleStr + \
replyAvatarImageInPost + '</p>\n' replyAvatarImageInPost + '</p>\n'
postHtml += contentStr + footerStr + '\n' postHtml += contentStr + footerStr + '\n'
postHtml += '</div>\n' postHtml += '</div>\n'