Descriptionhtml: handle '<' before a tag
As pointed out at
https://groups.google.com/forum/#!topic/golang-nuts/LJozHIXAAJY,
`<<p>html</p>` was parsed as `<<p>html</p>`.
There was no test case for this. Chrome parses it as `<<p>html</p>`,
and that seems to be correct. We were missing the
"Reconcume the current input character" step at
http://www.whatwg.org/specs/web-apps/current-work/multipage/tokenization.html#tag-open-state
Patch Set 1 #Patch Set 2 : diff -r 53130366067a https://code.google.com/p/go.net #Patch Set 3 : diff -r 53130366067a https://code.google.com/p/go.net #
MessagesTotal messages: 4
|