htmljs-parser
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -730,2 +730,3 @@ var __defProp = Object.defineProperty; | ||
function checkForClosingTag(parser) { | ||
var _a, _b; | ||
const curPos = parser.pos + 1; | ||
@@ -747,2 +748,6 @@ let match = !!parser.lookAheadFor("/>"); | ||
parser.endText(); | ||
(_b = (_a = parser.options).onCloseTagStart) == null ? void 0 : _b.call(_a, { | ||
start: curPos - 1, | ||
end: curPos + 1 | ||
}); | ||
if (ensureExpectedCloseTag(parser, { | ||
@@ -749,0 +754,0 @@ start: parser.pos, |
{ | ||
"name": "htmljs-parser", | ||
"description": "An HTML parser recognizes content and string placeholders and allows JavaScript expressions as attribute values", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"devDependencies": { | ||
@@ -6,0 +6,0 @@ "@changesets/changelog-github": "^0.4.4", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
154437
4471