Fix crash in conf/etc. with empty optional values

This commit is contained in:
Bryan Ashby
2023-12-23 18:09:32 -07:00
parent 6aa0c8679f
commit 223b7b2ed6
5 changed files with 12 additions and 1 deletions

View File

@@ -45,6 +45,10 @@ const SIMPLE_ELITE_MAP = {
};
function stylizeString(s, style) {
if (!s) {
return '';
}
var len = s.length;
var c;
var i;