]> Cypherpunks repositories - gostls13.git/commit
html: remove the Tokenizer.ReturnComments option.
authorNigel Tao <nigeltao@golang.org>
Tue, 25 Oct 2011 00:28:07 +0000 (11:28 +1100)
committerNigel Tao <nigeltao@golang.org>
Tue, 25 Oct 2011 00:28:07 +0000 (11:28 +1100)
commit18b025d530b2410c74c094c0e78671570c60b7bd
tree81a1e0f3e95da2a932f71be4f62e297ea096a0f5
parent5791233461d9eaef94f8a29cee7a1933a5c015d2
html: remove the Tokenizer.ReturnComments option.

The original intention was to simplify the parser, in making it skip
all comment tokens. However, checking that the Go html package is
100% compatible with the WebKit HTML test suite requires parsing the
comments. There is no longer any real benefit for the option.

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