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 c7a2fce commit 8010453Copy full SHA for 8010453
src/nu/validator/htmlparser/impl/Tokenizer.java
@@ -3610,7 +3610,13 @@ private void ensureBufferSpace(int inputLength) throws SAXException {
3610
} else if ((c >= '0' && c <= '9')
3611
|| (c >= 'A' && c <= 'Z')
3612
|| (c >= 'a' && c <= 'z')) {
3613
- appendStrBuf(c);
+ if (returnState == ATTRIBUTE_VALUE_DOUBLE_QUOTED
3614
+ || returnState == ATTRIBUTE_VALUE_SINGLE_QUOTED
3615
+ || returnState == ATTRIBUTE_VALUE_UNQUOTED) {
3616
+ appendStrBuf(c);
3617
+ }
3618
+ /* The following pos++ is necessary due to how we’ve
3619
+ * handled the "reconsume" block for this case. */
3620
pos++;
3621
continue;
3622
}
0 commit comments