html: parse misnested formatting tags according to the HTML5 spec.
This is the "adoption agency" algorithm. The test case input is "<a><p>X<a>Y</a>Z</p></a>". The correct parse is: | <html> | <head> | <body> | <a> | <p> | <a> | "X" | <a> | "Y" | "Z" R=gri CC=golang-dev https://golang.org/cl/4771042
Showing
src/pkg/html/const.go
0 → 100644
src/pkg/html/node.go
0 → 100644
This diff is collapsed.
Please
register
or
sign in
to comment