commit | 4109fccea424c486ca00a51bbe2ac2940e66075b | [log] [tgz] |
---|---|---|
author | Andrew Balholm <andybalholm@gmail.com> | Mon May 12 16:42:14 2014 +1000 |
committer | Nigel Tao <nigeltao@golang.org> | Mon May 12 16:42:14 2014 +1000 |
tree | de5d62dedc196a592032a666ce3e66249f01c308 | |
parent | c286e198d6a796666801bd26651d4623aa9750a2 [diff] |
html: 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 LGTM=nigeltao R=golang-codereviews, gobot, nigeltao CC=golang-codereviews, nigeltao https://golang.org/cl/96060044