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:
parent
329990d525
commit
1e6d946594
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user