• Nigel Tao's avatar
    html: foreign element HTML integration points, tag name adjustment, · 748fab9d
    Nigel Tao authored
    shorten the MathML namespace abbreviation from "mathml" to "math".
    Python's html5lib uses "mathml", but I think that that is an internal
    implementation detail; the test cases use "math".
    
    Pass tests10.dat, test 30:
    <div><svg><path><foreignObject><math></div>a
    
    | <html>
    |   <head>
    |   <body>
    |     <div>
    |       <svg svg>
    |         <svg path>
    |           <svg foreignObject>
    |             <math math>
    |               "a"
    
    R=andybalholm
    CC=golang-dev
    https://golang.org/cl/5529044
    748fab9d
parse.go 41.1 KB