Skip to content

Commit 6ffd8b9

Browse files
committed
Fix: bugs about unexpected-solidus-in-tag
1 parent 8fe6b79 commit 6ffd8b9

File tree

4 files changed

+444
-0
lines changed

4 files changed

+444
-0
lines changed

src/html/tokenizer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1161,6 +1161,7 @@ export class Tokenizer {
11611161
}
11621162

11631163
this.reportParseError("unexpected-solidus-in-tag")
1164+
this.clearStartTokenMark()
11641165
return this.reconsumeAs("BEFORE_ATTRIBUTE_NAME")
11651166
}
11661167

0 commit comments

Comments
 (0)