]> Cypherpunks repositories - gostls13.git/commit
html: parse and render comment nodes.
authorNigel Tao <nigeltao@golang.org>
Thu, 20 Oct 2011 00:45:30 +0000 (11:45 +1100)
committerNigel Tao <nigeltao@golang.org>
Thu, 20 Oct 2011 00:45:30 +0000 (11:45 +1100)
commit64306c9fd076c78b4e443f641561124f103854d5
treef298eb61771b678494ed0e4f51d26e9e943e7e60
parent57d07e32d82e1ea0f8edd7fba95bd192cb5f539e
html: parse and render comment nodes.

The first additional test case in parse_test.go is:
<!--><div>--<!-->

The second one is unrelated to the comment change, but also passes:
<p><hr></p>

R=andybalholm
CC=golang-dev
https://golang.org/cl/5299047
src/pkg/html/parse.go
src/pkg/html/parse_test.go
src/pkg/html/render.go