lib/snapshot/page.html.erb in snapshot-1.13.1 vs lib/snapshot/page.html.erb in snapshot-1.14.0
- old
+ new
@@ -145,10 +145,10 @@
imageDisplay.src = img.src;
imageDisplay.alt = img.alt;
imageDisplay.dataset.counter = img.dataset.counter;
imageInfo.innerHTML = '<h3>'+img.alt+'</h3>';
- imageInfo.innerHTML += img.src.split("/").pop();
+ imageInfo.innerHTML += decodeURI(img.src.split("/").pop());
imageInfo.innerHTML += '<br />'+tmpImg.height+'×'+tmpImg.width+'px';
overlay.style.display = "block";
});
}