mirror of
https://github.com/golang/go
synced 2024-11-25 01:08:02 -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
|
||||
default:
|
||||
// TODO.
|
||||
p.addElement(p.tok.Data, p.tok.Attr)
|
||||
}
|
||||
case EndTagToken:
|
||||
switch p.tok.Data {
|
||||
|
Loading…
Reference in New Issue
Block a user