vendor/golang.org/x/net/html/parse.go
changeset 265 05c40b36d3b2
parent 256 6d9efbef00a9
equal deleted inserted replaced
264:8f478162d991 265:05c40b36d3b2
   732 
   732 
   733 	p.parseImpliedToken(EndTagToken, a.Head, a.Head.String())
   733 	p.parseImpliedToken(EndTagToken, a.Head, a.Head.String())
   734 	return false
   734 	return false
   735 }
   735 }
   736 
   736 
   737 // 12.2.6.4.5.
   737 // Section 12.2.6.4.5.
   738 func inHeadNoscriptIM(p *parser) bool {
   738 func inHeadNoscriptIM(p *parser) bool {
   739 	switch p.tok.Type {
   739 	switch p.tok.Type {
   740 	case DoctypeToken:
   740 	case DoctypeToken:
   741 		// Ignore the token.
   741 		// Ignore the token.
   742 		return true
   742 		return true