]> Cypherpunks repositories - gostls13.git/commit
html: tokenize HTML comments.
authorNigel Tao <nigeltao@golang.org>
Wed, 16 Feb 2011 23:45:30 +0000 (10:45 +1100)
committerNigel Tao <nigeltao@golang.org>
Wed, 16 Feb 2011 23:45:30 +0000 (10:45 +1100)
commita5ff8ad9db409bfa35322c8887b2bae964fec210
treec1d414c23e4db6e5ccbd614529cef5d0ccfc0bc7
parent3a2d64789bb661bc5d2e27df30c3e3560bad6a03
html: tokenize HTML comments.

I'm not sure if it's 100% correct wrt the HTML5 specification,
but the test suite has plenty of HTML comment test cases, and
we'll shake out any tokenization bugs as the parser improves its
coverage.

R=gri
CC=golang-dev
https://golang.org/cl/4186055
src/pkg/html/doc.go
src/pkg/html/token.go
src/pkg/html/token_test.go