From 979d8a5e746d5286172779a337b47a5e98d3bada Mon Sep 17 00:00:00 2001 From: networkException Date: Tue, 4 Jan 2022 00:41:46 +0100 Subject: [PATCH] Tokenizer: Fix invalid state switch in BeforeDOCTYPEName --- html/tokenizer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/tokenizer.ts b/html/tokenizer.ts index a8f36a7..b7d5532 100644 --- a/html/tokenizer.ts +++ b/html/tokenizer.ts @@ -170,7 +170,7 @@ export class Tokenizer { } this.create(DOCTYPEToken.createWithName(this.currentInputCharacter).startingAt(this.currentPosition)); - this.state = State.DOCTYPE; + this.state = State.DOCTYPEName; } }