💣 Breaking Changes
- Fixes issues with HTML parsing and serialization related to void and SVG elements. (#479)
- Void elements will be serialized from
<img />
to<img>
- SVG elements will be serialized from
<circle />
to<circle></circle>
- This change can potentially break tests as the serialized HTML may differ from before (e.g. Element.innerHTML) and therefore it is released as a major version.
- Void elements will be serialized from
👷♂️ Patch fixes
- Fixes issue related to Element.namespaceURI not being correct for SVG elements. (#479)
- HTML parser should always set Element.namespaceURI to be
http://www.w3.org/2000/svg
on SVG elements. Even if "xmlns" is set as an attribute.
- HTML parser should always set Element.namespaceURI to be