Don't post content

main2
Bob Mottram 2019-09-28 13:07:48 +01:00
parent 29587679d9
commit 588f42a896
1 changed files with 4 additions and 5 deletions

View File

@ -1882,11 +1882,10 @@ def individualPostAsHtml(iconsDir: str,translate: {}, \
' <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>\n' ' </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'
galleryStr+= \ galleryStr+='</div>\n'
'</div>\n'
attachmentStr+= \ attachmentStr+= \
'<a href="'+attach['url']+'">' \ '<a href="'+attach['url']+'">' \
'<img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" class="attachment"></a>\n' '<img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" class="attachment"></a>\n'