This commit is contained in:
yincong
2024-12-18 10:09:52 +08:00
parent 76cab6397d
commit a601ecd849

View File

@@ -836,15 +836,14 @@ func afterHeadIM(p *parser) bool {
case DoctypeToken:
// Ignore the token.
return true
case ErrorToken:
// Stop parsing.
p.parseImpliedToken(StartTagToken, a.Body, a.Body.String())
p.framesetOK = true
return true
}
p.parseImpliedToken(StartTagToken, a.Body, a.Body.String())
p.framesetOK = true
if p.tok.Type == ErrorToken {
// Stop parsing.
return true
}
return false
}