diff --git a/files/templates/submission.html b/files/templates/submission.html
index f33b37d760..42f5c565ef 100644
--- a/files/templates/submission.html
+++ b/files/templates/submission.html
@@ -834,7 +834,7 @@
xhr.withCredentials=true;
xhr.onload=function(){
if (xhr.status==200) {
- document.getElementById("viewmore").innerHTML = xhr.response;
+ document.getElementById("viewmore").innerHTML = xhr.response.replace(/data-src/g, 'src').replace(/data-cfsrc/g, 'src').replace(/style="display:none;visibility:hidden;"/g, '');
}
}
xhr.send(form)