diff options
Diffstat (limited to 'parse.js')
-rw-r--r-- | parse.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -56,7 +56,9 @@ function findExpression(data, expr, start = 0) function parseCluttered(s) { - return s.replaceAll(".", "").replaceAll(" ", "").replaceAll("<", "(").replaceAll(">", ")").toUpperCase(); + if (!(typeof s === "string")) + return ""; + return s.replaceAll(".", "").replaceAll(" ", "").toUpperCase(); } function parseClasses(classData, DB) |