Fix status showing as undefined

This commit is contained in:
bingus_violet 2024-10-23 10:52:50 -05:00
parent 71822f94b6
commit 84abbae868

View file

@ -60,7 +60,7 @@ function onlyIfExists(string, check) {
}
}
function makeHtmlSafe(str) {
function makeHtmlSafe(str="") {
return String(str).replace(/&/g, '&amp;').replace(/</g, '&lt;').replace(/>/g, '&gt;').replace(/"/g, '&quot;');
}