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 a3d911d commit 61325c3Copy full SHA for 61325c3
src/nu/validator/htmlparser/impl/Tokenizer.java
@@ -3546,13 +3546,14 @@ private void ensureBufferSpace(int inputLength) throws SAXException {
3546
} else if ((c >= '0' && c <= '9')
3547
|| (c >= 'A' && c <= 'Z')
3548
|| (c >= 'a' && c <= 'z')) {
3549
+ if (++pos == endPos) {
3550
+ break stateloop;
3551
+ }
3552
+ appendCharRefBuf(c);
3553
emitOrAppendCharRefBuf(returnState);
3554
if ((returnState & DATA_AND_RCDATA_MASK) == 0) {
3555
cstart = pos;
3556
}
- if (++pos == endPos) {
- break stateloop;
- }
3557
c = checkChar(buf, pos);
3558
continue;
3559
0 commit comments