• Andrew Balholm's avatar
    html: improve parsing of tables · 6e318bda
    Andrew Balholm authored
    When foster parenting, merge adjacent text nodes.
    Properly close table row at </tr> tag.
    
    Pass tests1.dat, test 32:
    <!-----><font><div>hello<table>excite!<b>me!<th><i>please!</tr><!--X-->
    
    | <!-- - -->
    | <html>
    |   <head>
    |   <body>
    |     <font>
    |       <div>
    |         "helloexcite!"
    |         <b>
    |           "me!"
    |         <table>
    |           <tbody>
    |             <tr>
    |               <th>
    |                 <i>
    |                   "please!"
    |             <!-- X -->
    
    R=nigeltao
    CC=golang-dev
    https://golang.org/cl/5323048
    6e318bda
Name
Last commit
Last update
doc Loading commit data...
include Loading commit data...
lib Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...