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
The sequence of elements has been changed after parsing the HTML content. I tried the java HTML parser jsoup, it works as expected, so I guess there is an issue with the library golang.org/x/net/html.
@seankhliao thanks for your reply! Yes, the rendered results are the same by Chrome. But we need to use this if-each clause to automatically generate the table elements. Now since after parsing, the sequence of the elements has been changed, it can be used to automatically generate table elements anymore.
What version of Go are you using (
go version
)?1.15.4
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOARCH="amd64"
What did you do?
What did you expect to see?
What did you see instead?
The sequence of elements has been changed after parsing the HTML content. I tried the java HTML parser
jsoup
, it works as expected, so I guess there is an issue with the librarygolang.org/x/net/html
.The text was updated successfully, but these errors were encountered: