]> Cypherpunks repositories - gostls13.git/commit
exp/html: improve afterHeadIM
authorAndrew Balholm <andybalholm@gmail.com>
Fri, 20 Apr 2012 00:48:10 +0000 (10:48 +1000)
committerNigel Tao <nigeltao@golang.org>
Fri, 20 Apr 2012 00:48:10 +0000 (10:48 +1000)
commit7d63ff09a5ce65c91021acaf79b1d281cba55f07
treeb5e90bb8774e4c7d6c3d146dd42161fbb8e53661
parent49a7da2dd94347f0e019e832fd4584c4263bf7ff
exp/html: improve afterHeadIM

Clean up the flow of control.
Fix the TODO for handling <html> tags.
Add a case to ignore doctype declarations.

Pass one additional test.

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