]> Cypherpunks repositories - gostls13.git/commit
html: correctly parse </html> in <head> element.
authorAndrew Balholm <andybalholm@gmail.com>
Wed, 9 Nov 2011 08:18:26 +0000 (19:18 +1100)
committerNigel Tao <nigeltao@golang.org>
Wed, 9 Nov 2011 08:18:26 +0000 (19:18 +1100)
commit820523d09186bd9c7078338803e41c8592158110
tree88564f4551144e1d5d1640cf15433eb048cf555f
parent929070ee621603ca0d71ffeae6d2d2893813023f
html: correctly parse </html> in <head> element.

Pass tests1.dat, test 92:
<head></html><meta><p>

| <html>
|   <head>
|   <body>
|     <meta>
|     <p>

Also pass tests through test 98:
<p><b><div><marquee></p></b></div>

R=nigeltao
CC=golang-dev
https://golang.org/cl/5359054
src/pkg/html/parse.go
src/pkg/html/parse_test.go