diff --git a/src/QDL/xmlParser.js b/src/QDL/xmlParser.js index f5cd31b..ca8caa9 100644 --- a/src/QDL/xmlParser.js +++ b/src/QDL/xmlParser.js @@ -5,7 +5,7 @@ export class xmlParser { let content = {} const replaceBytes = new TextDecoder().decode(new Uint8Array([0xf0, 0xe9, 0x88, 0x14])); for (let line of lines) { - if ("" == line) { + if ("" === line) { continue; } line = " { - if (attr.name == "value") + if (attr.name === "value") obj.push(attr.value); return obj; }, data);