Skip to content

Commit 6c2675c

Browse files
leachbjpieter
authored andcommitted
Unescape the filename to ensure that filenames containing '&' are displayed correctly
1 parent e901894 commit 6c2675c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

html/views/history/history.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ var showDiff = function() {
244244
p.insertBefore(document.createTextNode(name1 + " -> "), link);
245245
}
246246

247-
link.appendChild(document.createTextNode(finalFile));
247+
link.appendChild(document.createTextNode(finalFile.unEscapeHTML()));
248248
button.setAttribute("representedFile", finalFile);
249249
link.setAttribute("representedFile", finalFile);
250250

0 commit comments

Comments
 (0)