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' \
' <img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" width="600" height="400">\n' \
' </a>\n'
if postJsonObject['object'].get('content'):
galleryStr+= \
' <div class="imagedesc">'+postJsonObject['object']['content']+'</div>\n'
galleryStr+= \
'</div>\n'
#if postJsonObject['object'].get('content'):
# galleryStr+= \
# ' <div class="imagedesc">'+postJsonObject['object']['content']+'</div>\n'
galleryStr+='</div>\n'
attachmentStr+= \
'<a href="'+attach['url']+'">' \
'<img src="'+attach['url']+'" alt="'+imageDescription+'" title="'+imageDescription+'" class="attachment"></a>\n'