Unescape the filename to ensure that filenames containing '&' are displayed correctly

This commit is contained in:
Bernard Leach
2009-09-25 10:27:45 +08:00
committed by André Berg
parent 4f7e155ec0
commit 93f1ea011b
+1 -1
View File
@@ -244,7 +244,7 @@ var showDiff = function() {
p.insertBefore(document.createTextNode(name1 + " -> "), link);
}
link.appendChild(document.createTextNode(finalFile));
link.appendChild(document.createTextNode(finalFile.unEscapeHTML()));
button.setAttribute("representedFile", finalFile);
link.setAttribute("representedFile", finalFile);