diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/master/list.js | 1 |
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, '&').replace(/</g, '<').replace(/>/g, '>').replace(/"/g, '"'); } |