From 93f1ea011b2cb58d2fd49b18575b339ac7662594 Mon Sep 17 00:00:00 2001 From: Bernard Leach Date: Fri, 25 Sep 2009 10:27:45 +0800 Subject: [PATCH] Unescape the filename to ensure that filenames containing '&' are displayed correctly --- html/views/history/history.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/views/history/history.js b/html/views/history/history.js index 6cd7540..ffe74c8 100644 --- a/html/views/history/history.js +++ b/html/views/history/history.js @@ -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);