1
0
mirror of https://github.com/golang/go synced 2024-10-04 02:21:21 -06:00
go/src/pkg/html
Andrew Balholm af081cd43e html: ingore newline at the start of a <pre> block
Pass tests3.dat, test 4:
<!DOCTYPE html><html><head></head><body><pre>\n</pre></body></html>

| <!DOCTYPE html>
| <html>
|   <head>
|   <body>
|     <pre>

Also pass tests through test 11:
<!DOCTYPE html><pre>&#x0a;&#x0a;A</pre>

R=nigeltao
CC=golang-dev
https://golang.org/cl/5437051
2011-11-24 13:15:09 +11:00
..
template html/template: fix documentation formatting 2011-11-19 10:54:44 +11:00
testdata/webkit html: sync html/testdata/webkit with upstream WebKit. 2011-07-21 12:50:45 +10:00
const.go html: parse misnested formatting tags according to the HTML5 spec. 2011-07-21 11:20:54 +10:00
doc.go html: fix doc after Err method name change 2011-11-18 01:06:59 -02: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 renaming_2: gofix -r go1pkgrename src/pkg/[a-l]* 2011-11-08 15:40:58 -08:00
Makefile html: add a Render function. 2011-10-10 14:44:37 +11:00
node.go html: stop at scope marker node when generating implied </a> tags 2011-11-02 11:47:05 +11:00
parse_test.go html: ingore newline at the start of a <pre> block 2011-11-24 13:15:09 +11:00
parse.go html: ingore newline at the start of a <pre> block 2011-11-24 13:15:09 +11:00
render_test.go html: add a Render function. 2011-10-10 14:44:37 +11:00
render.go html: ingore newline at the start of a <pre> block 2011-11-24 13:15:09 +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: on EOF in a comment, ignore final dashes (up to 2) 2011-11-23 09:26:37 +11:00