@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/source.cjs CHANGED
@@ -849,6 +849,7 @@ var XML_NAME_START = /[A-Za-z_]/;
849
849
  var XML_NAME_CHARACTER = /[\w.:-]/;
850
850
  var WHITESPACE = /\s/;
851
851
  function readXmlTag(content, start, find = (needle, from) => content.indexOf(needle, from)) {
852
+ if (content[start] !== "<") return null;
852
853
  let cursor = start + 1;
853
854
  const isClosing = content[cursor] === "/";
854
855
  if (isClosing) cursor++;