Tokenizer: Fix invalid state switch in BeforeDOCTYPEName

This commit is contained in:
networkException 2022-01-04 00:41:46 +01:00
parent afbdf9151c
commit 979d8a5e74

View file

@ -170,7 +170,7 @@ export class Tokenizer {
}
this.create(DOCTYPEToken.createWithName(this.currentInputCharacter).startingAt(this.currentPosition));
this.state = State.DOCTYPE;
this.state = State.DOCTYPEName;
}
}