kotlinx.html
kotlinx.html copied to clipboard
svg tag namespace xmlns="http://www.w3.org/2000/svg" should be optional
Hi,
when appending a svg, the library will automatically append the namespace xmlns="http://www.w3.org/2000/svg", which isn't actually mandatory and thus should be optional.
Note: The xmlns attribute is only required on the outermost svg element of SVG documents. It is unnecessary for inner svg elements or inside HTML documents. [0]
[0] https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg