forked from indymedia/epicyon
Don't post content
parent
29587679d9
commit
588f42a896
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue