htmlparser2
Advanced tools
Comparing version 7.1.0 to 7.1.1
@@ -136,3 +136,3 @@ "use strict"; | ||
var idx = this.tokenizer.getAbsoluteIndex(); | ||
this.endIndex = idx; | ||
this.endIndex = idx - 1; | ||
(_b = (_a = this.cbs).ontext) === null || _b === void 0 ? void 0 : _b.call(_a, data); | ||
@@ -214,3 +214,3 @@ this.startIndex = idx; | ||
// We know the stack has sufficient elements. | ||
this.cbs.onclosetag(this.stack.pop(), pos !== 0); | ||
this.cbs.onclosetag(this.stack.pop(), count !== 0); | ||
} | ||
@@ -217,0 +217,0 @@ } |
{ | ||
"name": "htmlparser2", | ||
"description": "Fast & forgiving HTML/XML parser", | ||
"version": "7.1.0", | ||
"version": "7.1.1", | ||
"author": "Felix Boehm <me@feedic.com>", | ||
@@ -6,0 +6,0 @@ "funding": [ |
94667