')
.addClass('post-inner')
- .html(applyFormatting(escapeTags(Base64.decode(post.message))))
+// .html(applyFormatting(escapeTags(Base64.decode(post.message)))) //old code
+ .html(applyFormatting(post_content)) //<--- HERE using replaced contend of post
.appendTo(d);
detectPlacesCommands(inner);
d.find('img').click(function(){
@@ -107,7 +203,7 @@ function addPost(post, appendFunc, hasShowButton, short) {
if (imgcnt > 0) {
for (var i = 0; i < imgcnt; i++) {
var img = imgs[i];
- if (img.src.startsWith('data:image/jpeg;base64,UEsDB')) {
+ if (img.src.startsWith('data:image/jpeg;base64,UEsDB')) {//if PK at first - then zip //saving backward compatibility with old zipJPEGs
$(img).replaceWith($('
[file'+(i+1)+'.zip]'));
}
}