You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOOS="linux"
What did you do?
The current implementation of the html parser generates an invalid tree when it encounters a form element nested inside a template element. Every successive sibling to the form will be inserted as children instead.
I encountered this when parsing YouTube's new polymer design. A stripped down version of the section in question:
The issue can be resolved by applying the following patch. However, beyond passing the tests associated with the package, no other testing has been performed.
namusyaka
added
NeedsFix
The path to resolution is known, but the work has not been done.
and removed
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
labels
Jun 29, 2018
What version of Go are you using (
go version
)?go version go1.10 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?GOARCH="amd64"
GOOS="linux"
What did you do?
The current implementation of the html parser generates an invalid tree when it encounters a
form
element nested inside atemplate
element. Every successive sibling to the form will be inserted as children instead.I encountered this when parsing YouTube's new polymer design. A stripped down version of the section in question:
What did you expect to see?
The following test inside
testdata/webkit/template.dat
to succeed:What did you see instead?
The issue can be resolved by applying the following patch. However, beyond passing the tests associated with the package, no other testing has been performed.
The text was updated successfully, but these errors were encountered: