1
0
mirror of https://github.com/golang/go synced 2024-10-04 20:31:22 -06:00
go/src/pkg/html
Mike Samuel b1d6fa517c html/template: reenable testcases and fix mis-escaped sequences.
Tighter octal parsing broke some tests and were disabled in
https://golang.org/cl/5530051

Those tests were broken.  The CSS decoder was supposed to see CSS
hex escape sequences of the form '\' <hex>+, but those escape
sequences were instead being consumed by the template parser.

This change properly escapes those escape sequences, and uses
proper escaping for NULs.

R=golang-dev, rsc, nigeltao
CC=golang-dev
https://golang.org/cl/5529073
2012-01-11 18:47:03 -05:00
..
template html/template: reenable testcases and fix mis-escaped sequences. 2012-01-11 18:47:03 -05: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: foreign element HTML integration points, tag name adjustment, 2012-01-10 11:06:09 +11:00
Makefile html: a first step at parsing foreign content (MathML, SVG). 2011-12-13 13:52:47 +11:00
node.go html: foreign element HTML integration points, tag name adjustment, 2012-01-10 11:06:09 +11:00
parse_test.go html: propagate foreign namespaces only when adding foreign content. 2012-01-11 10:15:40 +11:00
parse.go html: propagate foreign namespaces only when adding foreign content. 2012-01-11 10:15:40 +11:00
render_test.go gofmt -s misc src 2011-12-02 14:14:25 -05:00
render.go html: adjust foreign attributes. 2011-12-25 12:42:47 +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: adjust foreign attributes. 2011-12-25 12:42:47 +11:00