Correctly escape filenames in displayFilesAsHTML
parent
92018b761d
commit
c3469bd545
|
@ -950,7 +950,7 @@ const Utils = {
|
||||||
const html = "<div class='panel panel-default'>" +
|
const html = "<div class='panel panel-default'>" +
|
||||||
"<div class='panel-heading' role='tab'>" +
|
"<div class='panel-heading' role='tab'>" +
|
||||||
"<h4 class='panel-title'>" +
|
"<h4 class='panel-title'>" +
|
||||||
file.fileName +
|
Utils.escapeHtml(file.fileName) +
|
||||||
// The following line is for formatting when HTML is stripped
|
// The following line is for formatting when HTML is stripped
|
||||||
"<span style='display: none'>\n0 bytes\n</span>" +
|
"<span style='display: none'>\n0 bytes\n</span>" +
|
||||||
"</h4>" +
|
"</h4>" +
|
||||||
|
|
Loading…
Reference in New Issue