]> Cypherpunks repositories - gostls13.git/commit
html: parse malformed tags missing a '>', such as `<p id=0</p>`.
authorNigel Tao <nigeltao@golang.org>
Wed, 10 Aug 2011 03:39:07 +0000 (13:39 +1000)
committerNigel Tao <nigeltao@golang.org>
Wed, 10 Aug 2011 03:39:07 +0000 (13:39 +1000)
commit37afff2978f3bb12170076192676e9348a7936fc
treee46f9fa1585e04ad0c054610987571ab3a47591d
parent1ac7a6970198b2448b1165d5e0d651ced4bf73d7
html: parse malformed tags missing a '>', such as `<p id=0</p>`.

The additional token_test.go cases matches html5lib behavior.

Fixes #2124.

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