]> Cypherpunks repositories - gostls13.git/commit
exp/html: generate replacement for <isindex> correctly
authorAndrew Balholm <andybalholm@gmail.com>
Mon, 13 Aug 2012 23:53:10 +0000 (09:53 +1000)
committerNigel Tao <nigeltao@golang.org>
Mon, 13 Aug 2012 23:53:10 +0000 (09:53 +1000)
commit3ba25e76a7dbb1574006081f597dcc6d9b569869
tree7b1991c432f0bc915b2cbbc72f20c70500a0dacf
parent6d5eb61ae7d65d56bc6277ddea4264a10054f28b
exp/html: generate replacement for <isindex> correctly

When generating replacement elements for an <isindex> tag, the old
addSyntheticElement method was producing the wrong nesting. Replace
it with parseImpliedToken.

Pass the one remaining test in the test suite.

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