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