]> Cypherpunks repositories - gostls13.git/commit
exp/html: discard tags that are terminated by EOF instead of by '>'
authorAndrew Balholm <andybalholm@gmail.com>
Mon, 13 Aug 2012 02:07:44 +0000 (12:07 +1000)
committerNigel Tao <nigeltao@golang.org>
Mon, 13 Aug 2012 02:07:44 +0000 (12:07 +1000)
commitaa9a81b1b098f3482bd648fbb634756cfa403fd5
tree74ab5a0aa7ddb3198943d36728d9b43f83f41085
parenta9d0ff6ead470b565b832e2af29b564e9ac28e65
exp/html: discard tags that are terminated by EOF instead of by '>'

If a tag doesn't have a closing '>', it isn't considered a tag;
it is just ignored and EOF is returned instead.

Pass one additional test in the test suite.

Change tokenizer tests to match correct behavior.

R=nigeltao
CC=golang-dev
https://golang.org/cl/6454131
src/pkg/exp/html/testlogs/webkit02.dat.log
src/pkg/exp/html/token.go
src/pkg/exp/html/token_test.go