1
0
mirror of https://github.com/golang/go synced 2024-11-21 22:54:40 -07:00

html: parse start tags that aren't explicitly otherwise dealt with.

R=golang-dev, nigeltao
CC=golang-dev
https://golang.org/cl/4626080
This commit is contained in:
Yasuhiro Matsumoto 2011-07-06 13:08:52 +10:00 committed by Nigel Tao
parent 329990d525
commit 1e6d946594

View File

@ -400,6 +400,7 @@ func inBodyIM(p *parser) (insertionMode, bool) {
p.framesetOK = false p.framesetOK = false
default: default:
// TODO. // TODO.
p.addElement(p.tok.Data, p.tok.Attr)
} }
case EndTagToken: case EndTagToken:
switch p.tok.Data { switch p.tok.Data {