forked from indymedia/epicyon
Indentation
parent
cbd19d6ddf
commit
8567aaa341
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue