aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/master/list.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/master/list.js b/util/master/list.js
index 59c12cd9e..251cba0ca 100644
--- a/util/master/list.js
+++ b/util/master/list.js
@@ -23,6 +23,7 @@ function humanTime(seconds) {
}
function escapeHTML(str) {
+ if(!str) return str;
return str.replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
}