]> Cypherpunks repositories - gostls13.git/commit
html: properly close <tr> element when an new <tr> starts.
authorAndrew Balholm <andybalholm@gmail.com>
Fri, 4 Nov 2011 04:48:11 +0000 (15:48 +1100)
committerNigel Tao <nigeltao@golang.org>
Fri, 4 Nov 2011 04:48:11 +0000 (15:48 +1100)
commit632a2c59b12b525edac2fffa4ddd57b3de068707
treecc2f865d2031ed512ce64a0a14063e16616f88df
parent0865c57f252f8c192526833b9de07446477b19f1
html: properly close <tr> element when an new <tr> starts.

Pass tests1.dat, test 87:
<table><tr><tr><td><td><span><th><span>X</table>

| <html>
|   <head>
|   <body>
|     <table>
|       <tbody>
|         <tr>
|         <tr>
|           <td>
|           <td>
|             <span>
|           <th>
|             <span>
|               "X"

R=nigeltao
CC=golang-dev
https://golang.org/cl/5343041
src/pkg/html/parse.go
src/pkg/html/parse_test.go