Skip to content

Commit 9e15251

Browse files
hsivonensideshowbarker
authored andcommitted
Mozilla bug 1650066 fixup - Avoid calling errListUnclosedStartTags in C++.
Differential Revision: https://phabricator.services.mozilla.com/D82007
1 parent c4935b1 commit 9e15251

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/nu/validator/htmlparser/impl/TreeBuilder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1520,9 +1520,11 @@ public final void eof() throws SAXException {
15201520
assert fragment;
15211521
break eofloop;
15221522
}
1523+
// [NOCPP[
15231524
if (errorHandler != null) {
15241525
errListUnclosedStartTags(0);
15251526
}
1527+
// ]NOCPP]
15261528
while (currentPtr >= eltPos) {
15271529
pop();
15281530
}

0 commit comments

Comments
 (0)