1
0
mirror of https://github.com/golang/go synced 2024-10-05 08:21:22 -06:00
go/src/pkg/html
Nigel Tao 18e8441476 html: handle text nodes in foreign content.
Passes tests10.dat, test 6:
<!DOCTYPE html><body><table><svg><g>foo</g></svg></table>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <svg svg>
|       <svg g>
|         "foo"
|     <table>

Also pass tests through test 12:
<!DOCTYPE html><body><table><caption><svg><g>foo</g><g>bar</g></svg><p>baz</caption></table>

R=andybalholm
CC=golang-dev
https://golang.org/cl/5495061
2011-12-19 12:20:00 +11:00
..
template html/template: define the FuncMap type locally 2011-12-14 11:22:17 -08:00
testdata/webkit html: sync html/testdata/webkit with upstream WebKit. 2011-07-21 12:50:45 +10:00
const.go html: handle end tags in foreign objects. 2011-12-16 09:36:50 +11:00
doc.go html: fix doc after Err method name change 2011-11-18 01:06:59 -02:00
doctype.go html: spin doctype.go out of parse.go. 2011-11-29 18:20:59 +11:00
entity_test.go renaming_2: gofix -r go1pkgrename src/pkg/[a-l]* 2011-11-08 15:40:58 -08:00
entity.go cgo, goyacc, go/build, html, http, path, path/filepath, testing/quick, test: use rune 2011-10-25 22:20:02 -07:00
escape.go update tree for new default type rule 2011-12-08 22:08:03 -05:00
foreign.go html: a first step at parsing foreign content (MathML, SVG). 2011-12-13 13:52:47 +11:00
Makefile html: a first step at parsing foreign content (MathML, SVG). 2011-12-13 13:52:47 +11:00
node.go html: update comments to match latest spec. 2011-12-13 14:20:26 +11:00
parse_test.go html: handle text nodes in foreign content. 2011-12-19 12:20:00 +11:00
parse.go html: handle text nodes in foreign content. 2011-12-19 12:20:00 +11:00
render_test.go gofmt -s misc src 2011-12-02 14:14:25 -05:00
render.go html: update comments to match latest spec. 2011-12-13 14:20:26 +11:00
token_test.go html: on EOF in a comment, ignore final dashes (up to 2) 2011-11-23 09:26:37 +11:00
token.go html: clean up the z.rawTag calculation in the tokenizer. 2011-11-30 17:00:37 +11:00