From: Yasuhiro Matsumoto Date: Wed, 6 Jul 2011 03:08:52 +0000 (+1000) Subject: html: parse start tags that aren't explicitly otherwise dealt with. X-Git-Tag: weekly.2011-07-07~28 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=1e6d946594953e5bc7f4b33c52b0d6280ff6c0bd;p=gostls13.git html: parse start tags that aren't explicitly otherwise dealt with. R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/4626080 --- diff --git a/src/pkg/html/parse.go b/src/pkg/html/parse.go index c2931773fa..6a2bc1ea69 100644 --- a/src/pkg/html/parse.go +++ b/src/pkg/html/parse.go @@ -400,6 +400,7 @@ func inBodyIM(p *parser) (insertionMode, bool) { p.framesetOK = false default: // TODO. + p.addElement(p.tok.Data, p.tok.Attr) } case EndTagToken: switch p.tok.Data {