]> Cypherpunks repositories - gostls13.git/commit
html: on EOF in a comment, ignore final dashes (up to 2)
authorAndrew Balholm <andybalholm@gmail.com>
Tue, 22 Nov 2011 22:26:37 +0000 (09:26 +1100)
committerNigel Tao <nigeltao@golang.org>
Tue, 22 Nov 2011 22:26:37 +0000 (09:26 +1100)
commit57ed39fd3bca9c69c32e55eb0a1873ab7f20bcfc
tree26f4d1497d5af54e3509f450ba0a4fdbb0a5205d
parent79bce499a336471638f5aa02bd258e516019ad6f
html: on EOF in a comment, ignore final dashes (up to 2)

Pass tests2.dat, test 57:
<!DOCTYPE html><!--x--

| <!DOCTYPE html>
| <!-- x -->
| <html>
|   <head>
|   <body>

Also pass test 58:
<!DOCTYPE html><table><tr><td></p></table>

R=nigeltao
CC=golang-dev
https://golang.org/cl/5436048
src/pkg/html/parse_test.go
src/pkg/html/token.go
src/pkg/html/token_test.go