Descriptionhtml: 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"
Patch Set 1 #Patch Set 2 : diff -r 82757b74f47f https://go.googlecode.com/hg/ #Patch Set 3 : diff -r 82757b74f47f https://go.googlecode.com/hg/ #
Total comments: 2
Patch Set 4 : diff -r ec21d1bbe91f https://go.googlecode.com/hg/ #
MessagesTotal messages: 3
|