Comparing version 1.0.4 to 1.1.0
@@ -11,3 +11,3 @@ const indexOfMatch = require("./index-of-match.js"); | ||
const start = indexOfMatch(xml, `\<${tagName}[ \>]`, startIndex); | ||
const start = indexOfMatch(xml, `\<${tagName}[ \>\/]`, startIndex); | ||
if (debug) console.log("[xml-utils] start:", start); | ||
@@ -14,0 +14,0 @@ if (start === -1) return undefined; |
{ | ||
"name": "xml-utils", | ||
"version": "1.0.4", | ||
"version": "1.1.0", | ||
"description": "Parse XML without Blowing Up Your Bundle Size", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
16010