Open cscheid opened 1 year ago
That is caused by Deno DOM not yet being able to produce XML nodes (which includes embedded XML documents as in your case) properly...
I just checked the parser and html5ever does knows that an SVG tag should be parsed as an embedded XML document... This might be easier to fix than I thought 🤔
fwiw, this used to work on 0.1.20. (Sorry that I don't have a tighter bracket for your bisecting...)
I'll look into it, thanks
Note the discrepancy with case sensitivity of some attributes (specifically,
viewbox
vsviewBox
).On Google Chrome:
On deno_dom 0.1.36: