• Andrew Balholm's avatar
    html: improve parsing of lists · 05ed18f4
    Andrew Balholm authored
    Make a <li> tag close the previous <li> element.
    Make a </ul> tag close <li> elements.
    
    Pass tests1.dat, test 33:
    <!DOCTYPE html><li>hello<li>world<ul>how<li>do</ul>you</body><!--do-->
    
    | <!DOCTYPE html>
    | <html>
    |   <head>
    |   <body>
    |     <li>
    |       "hello"
    |     <li>
    |       "world"
    |       <ul>
    |         "how"
    |         <li>
    |           "do"
    |       "you"
    |   <!-- do -->
    
    R=nigeltao
    CC=golang-dev
    https://golang.org/cl/5321051
    05ed18f4
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...