You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Emit /> instead of /> when closing SVG empty elements
For consistency with XMLSerializer, only void XHTML elements should have a space.
Ideally such change should also be applied on other XML documents, but trying here to keep things simple.
constxmlDocWithEmptyAttrFromSet=parser.parseFromString(`<hierarchy><android.view.View style=""/></hierarchy>`,'text/xml').documentElement;// attribute is in emptyAttributes set is empty (even for XML)
51
+
constxmlDocWithEmptyAttrFromSet=parser.parseFromString(`<hierarchy><android.view.View style=""/></hierarchy>`,'text/xml').documentElement;// attribute is in emptyAttributes set is empty (even for XML)
0 commit comments