@ai-matrx/content-ir 0.21.2 → 0.22.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -6053,6 +6053,7 @@ var XML_NAME_START = /[A-Za-z_]/;
6053
6053
  var XML_NAME_CHARACTER = /[\w.:-]/;
6054
6054
  var WHITESPACE = /\s/;
6055
6055
  function readXmlTag(content, start, find = (needle, from) => content.indexOf(needle, from)) {
6056
+ if (content[start] !== "<") return null;
6056
6057
  let cursor = start + 1;
6057
6058
  const isClosing = content[cursor] === "/";
6058
6059
  if (isClosing) cursor++;