Consistent sequence

main
Bob Mottram 2019-11-28 13:17:32 +00:00
parent db69b285a8
commit fb17bfceae
1 changed files with 3 additions and 3 deletions

View File

@ -2298,9 +2298,6 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
galleryStr+=' <a href="'+attach['url']+'">\n' galleryStr+=' <a href="'+attach['url']+'">\n'
galleryStr+=' <img loading="lazy" src="'+attach['url']+'" alt="" title="" width="600" height="400">\n' galleryStr+=' <img loading="lazy" src="'+attach['url']+'" alt="" title="" width="600" height="400">\n'
galleryStr+=' </a>\n' galleryStr+=' </a>\n'
galleryStr+=' <div class="mediaicons">\n'
galleryStr+=' '+replyStr+announceStr+likeStr+bookmarkStr+deleteStr+'\n'
galleryStr+=' </div>\n'
if postJsonObject['object'].get('url'): if postJsonObject['object'].get('url'):
imagePostUrl=postJsonObject['object']['url'] imagePostUrl=postJsonObject['object']['url']
else: else:
@ -2309,6 +2306,9 @@ def individualPostAsHtml(recentPostsCache: {},maxRecentPosts: int, \
galleryStr+=' <a href="'+imagePostUrl+'" class="gallerytext"><div class="gallerytext">'+imageDescription+'</div></a>\n' galleryStr+=' <a href="'+imagePostUrl+'" class="gallerytext"><div class="gallerytext">'+imageDescription+'</div></a>\n'
else: else:
galleryStr+='<label class="transparent">---</label><br>' galleryStr+='<label class="transparent">---</label><br>'
galleryStr+=' <div class="mediaicons">\n'
galleryStr+=' '+replyStr+announceStr+likeStr+bookmarkStr+deleteStr+'\n'
galleryStr+=' </div>\n'
galleryStr+='</div>\n' galleryStr+='</div>\n'
attachmentStr+='<a href="'+attach['url']+'">' attachmentStr+='<a href="'+attach['url']+'">'