aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2011-07-06 13:08:52 +1000
committerNigel Tao <nigeltao@golang.org>2011-07-06 13:08:52 +1000
commit1e6d946594953e5bc7f4b33c52b0d6280ff6c0bd (patch)
treef2b45f3a7ff7f71b057668c6f4a79aae9f626eee
parent329990d52509cd454022e0b6bbcd06e5b7092dc6 (diff)
downloadgo-1e6d946594953e5bc7f4b33c52b0d6280ff6c0bd.tar.gz
go-1e6d946594953e5bc7f4b33c52b0d6280ff6c0bd.zip
html: parse start tags that aren't explicitly otherwise dealt with.
R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/4626080
-rw-r--r--src/pkg/html/parse.go1
1 files changed, 1 insertions, 0 deletions
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 {