We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 586c581 commit 2ec7f6cCopy full SHA for 2ec7f6c
1 file changed
src/main/java/org/htmlunit/cyberneko/HTMLScanner.java
@@ -2453,9 +2453,9 @@ private void scanUntilEndTag(final String tagName) throws IOException {
2453
}
2454
if (c == '<') {
2455
final String next = fCurrentEntity.nextContent(lengthToScan) + " ";
2456
- if (next.length() >= lengthToScan
+ if (next.length() >= lengthToScan
2457
&& end.equalsIgnoreCase(next.substring(0, end.length()))
2458
- && ('>' == next.charAt(lengthToScan - 1)
+ && ('>' == next.charAt(lengthToScan - 1)
2459
|| Character.isWhitespace(next.charAt(lengthToScan - 1)))) {
2460
fCurrentEntity.rewind();
2461
break;
0 commit comments