Indentation

main
Bob Mottram 2020-09-30 21:57:07 +01:00
parent 7a7c96eac7
commit 07b7231031
1 changed files with 17 additions and 11 deletions

View File

@ -4594,7 +4594,8 @@ def individualPostAsHtml(allowDownloads: bool,
translate['announces'] + '" alt="' + \ translate['announces'] + '" alt="' + \
translate['announces'] + '" src="/' + \ translate['announces'] + '" src="/' + \
iconsDir + '/repeat_inactive.png" ' + \ iconsDir + '/repeat_inactive.png" ' + \
'class="announceOrReply"/> <a href="' + \ 'class="announceOrReply"/>\n' + \
' <a href="' + \
postJsonObject['object']['id'] + '">' + \ postJsonObject['object']['id'] + '">' + \
announceDisplayName + '</a>\n' announceDisplayName + '</a>\n'
# show avatar of person replied to # show avatar of person replied to
@ -4635,7 +4636,8 @@ def individualPostAsHtml(allowDownloads: bool,
'" alt="' + translate['announces'] + \ '" alt="' + translate['announces'] + \
'" src="/' + iconsDir + \ '" src="/' + iconsDir + \
'/repeat_inactive.png" ' + \ '/repeat_inactive.png" ' + \
'class="announceOrReply"/> <a href="' + \ 'class="announceOrReply"/>\n' + \
' <a href="' + \
postJsonObject['object']['id'] + '">@' + \ postJsonObject['object']['id'] + '">@' + \
announceNickname + '@' + \ announceNickname + '@' + \
announceDomain + '</a>\n' announceDomain + '</a>\n'
@ -4645,7 +4647,8 @@ def individualPostAsHtml(allowDownloads: bool,
translate['announces'] + '" alt="' + \ translate['announces'] + '" alt="' + \
translate['announces'] + '" src="/' + iconsDir + \ translate['announces'] + '" src="/' + iconsDir + \
'/repeat_inactive.png" ' + \ '/repeat_inactive.png" ' + \
'class="announceOrReply"/> <a href="' + \ 'class="announceOrReply"/>\n' + \
' <a href="' + \
postJsonObject['object']['id'] + \ postJsonObject['object']['id'] + \
'">@unattributed</a>\n' '">@unattributed</a>\n'
else: else:
@ -4654,7 +4657,8 @@ def individualPostAsHtml(allowDownloads: bool,
'" alt="' + translate['announces'] + \ '" alt="' + translate['announces'] + \
'" src="/' + iconsDir + \ '" src="/' + iconsDir + \
'/repeat_inactive.png" ' + \ '/repeat_inactive.png" ' + \
'class="announceOrReply"/> <a href="' + \ 'class="announceOrReply"/>\n' + \
' <a href="' + \
postJsonObject['object']['id'] + '">@unattributed</a>\n' postJsonObject['object']['id'] + '">@unattributed</a>\n'
else: else:
if postJsonObject['object'].get('inReplyTo'): if postJsonObject['object'].get('inReplyTo'):
@ -4717,7 +4721,8 @@ def individualPostAsHtml(allowDownloads: bool,
translate['replying to'] + \ translate['replying to'] + \
'" src="/' + \ '" src="/' + \
iconsDir + '/reply.png" ' + \ iconsDir + '/reply.png" ' + \
'class="announceOrReply"/> ' + \ 'class="announceOrReply"/>\n' + \
' ' + \
'<a href="' + inReplyTo + \ '<a href="' + inReplyTo + \
'">' + replyDisplayName + '</a>\n' '">' + replyDisplayName + '</a>\n'
@ -4774,7 +4779,7 @@ def individualPostAsHtml(allowDownloads: bool,
translate['replying to'] + \ translate['replying to'] + \
'" src="/' + \ '" src="/' + \
iconsDir + '/reply.png" ' + \ iconsDir + '/reply.png" ' + \
'class="announceOrReply"/> ' + \ 'class="announceOrReply"/>\n' + \
' <a href="' + \ ' <a href="' + \
inReplyTo + '">@' + \ inReplyTo + '">@' + \
replyNickname + '@' + \ replyNickname + '@' + \
@ -4787,7 +4792,7 @@ def individualPostAsHtml(allowDownloads: bool,
translate['replying to'] + \ translate['replying to'] + \
'" src="/' + \ '" src="/' + \
iconsDir + \ iconsDir + \
'/reply.png" class="announceOrReply"/> ' + \ '/reply.png" class="announceOrReply"/>\n' + \
' <a href="' + \ ' <a href="' + \
postJsonObject['object']['inReplyTo'] + \ postJsonObject['object']['inReplyTo'] + \
'">@unknown</a>\n' '">@unknown</a>\n'
@ -4806,7 +4811,8 @@ def individualPostAsHtml(allowDownloads: bool,
'" alt="' + translate['replying to'] + \ '" alt="' + translate['replying to'] + \
'" src="/' + \ '" src="/' + \
iconsDir + '/reply.png" ' + \ iconsDir + '/reply.png" ' + \
'class="announceOrReply"/> <a href="' + \ 'class="announceOrReply"/>\n' + \
' <a href="' + \
postJsonObject['object']['inReplyTo'] + \ postJsonObject['object']['inReplyTo'] + \
'">' + postDomain + '</a>\n' '">' + postDomain + '</a>\n'