mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Unescape the filename to ensure that filenames containing '&' are displayed correctly
This commit is contained in:
committed by
André Berg
parent
4f7e155ec0
commit
93f1ea011b
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user