mirror of
https://github.com/tenrok/BBob.git
synced 2026-06-20 20:00:33 +03:00
fix(parser): tokenizer error with quotemark strings
This commit is contained in:
@@ -219,7 +219,11 @@ class Tokenizer {
|
||||
!isPrevBackslash) {
|
||||
this.flushAttrNames();
|
||||
} else if (!this.inTag()) {
|
||||
this.wordToken[Token.VALUE_ID] += getChar(charCode);
|
||||
if (!this.wordToken) {
|
||||
this.wordToken = this.createWordToken(getChar(charCode));
|
||||
} else {
|
||||
this.wordToken[Token.VALUE_ID] += getChar(charCode);
|
||||
}
|
||||
}
|
||||
|
||||
this.nextCol();
|
||||
|
||||
Reference in New Issue
Block a user