• Nigel Tao's avatar
    html: handle end tags in foreign objects. · a369004e
    Nigel Tao authored
    I'm not 100% sure I get all the corner cases right, for end tags, but
    I'll let the test suite smoke it out.
    
    Pass tests10.dat, test 1:
    <!DOCTYPE html><svg></svg><![CDATA[a]]>
    
    | <!DOCTYPE html>
    | <html>
    |   <head>
    |   <body>
    |     <svg svg>
    |     <!-- [CDATA[a]] -->
    
    Also pass tests through test 5:
    <!DOCTYPE html><body><table><svg></svg></table>
    
    R=andybalholm
    CC=golang-dev
    https://golang.org/cl/5495044
    a369004e
Name
Last commit
Last update
..
template Loading commit data...
testdata/webkit Loading commit data...
Makefile Loading commit data...
const.go Loading commit data...
doc.go Loading commit data...
doctype.go Loading commit data...
entity.go Loading commit data...
entity_test.go Loading commit data...
escape.go Loading commit data...
foreign.go Loading commit data...
node.go Loading commit data...
parse.go Loading commit data...
parse_test.go Loading commit data...
render.go Loading commit data...
render_test.go Loading commit data...
token.go Loading commit data...
token_test.go Loading commit data...