Untangle links

main2
Bob Mottram 2019-09-28 15:45:48 +01:00
parent 6c84b4a1b7
commit cc769e731e
1 changed files with 2 additions and 2 deletions

View File

@ -1881,8 +1881,8 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
'<div class="gallery">\n' \ '<div class="gallery">\n' \
' <a target="_blank" href="'+attach['url']+'">\n' \ ' <a target="_blank" href="'+attach['url']+'">\n' \
' <img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" width="600" height="400">\n' \ ' <img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" width="600" height="400">\n' \
' <a href="'+messageId+'"><img id="galleryicon" src="/'+iconsDir+'/gallery.png" alt="'+translate['Show original post']+'" title="'+translate['Show original post']+'"/></a>\n' \ ' </a>\n' \
' </a>\n' ' <a href="'+messageId+'"><img src="/'+iconsDir+'/gallery.png" class="galleryicon" alt="'+translate['Show original post']+'" title="'+translate['Show original post']+'"/></a>\n'
#if postJsonObject['object'].get('content'): #if postJsonObject['object'].get('content'):
# galleryStr+= \ # galleryStr+= \
# ' <div class="imagedesc">'+postJsonObject['object']['content']+'</div>\n' # ' <div class="imagedesc">'+postJsonObject['object']['content']+'</div>\n'