]> Cypherpunks repositories - gostls13.git/commit
exp/html: improve beforeHeadIM
authorAndrew Balholm <andybalholm@gmail.com>
Wed, 18 Apr 2012 12:45:36 +0000 (22:45 +1000)
committerNigel Tao <nigeltao@golang.org>
Wed, 18 Apr 2012 12:45:36 +0000 (22:45 +1000)
commitb65c9a633ef594b171cb11b823f3d96f47d9f4e3
treec326002909771cba5fd520128e616759233131f7
parentb39bbf1e5b908070ee348c1ba6006da8ff1374c8
exp/html: improve beforeHeadIM

Add a case to ignore doctype tokens.

Clean up the flow of control to more clearly match the spec.

Pass one more test.

R=nigeltao
CC=golang-dev
https://golang.org/cl/6062047
src/pkg/exp/html/parse.go
src/pkg/exp/html/testlogs/tests19.dat.log