-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/net/html: incorrect handling nodes in the <head> section #23064
Comments
Adding the default handling code in parser.go/inHeadIM helped to solve this but I am not sure whether there are side effects.
|
The
|
Thanks. I think it is wrong because it misplaces the following |
Certainly, it is a problem that the The current implementation begins with parsing the
|
I'll visit again after resolveing #23071. |
Sorry for the delay and my confusing comment. So please let me change my opinion. This is an expected behavior, I think. |
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
go version
)?go1.9.2 darwin/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
What did you do?
What did you expect to see?
Same structure as the input
What did you see instead?
Nodes from are moved into the part
The text was updated successfully, but these errors were encountered: