Open
Description
Expected Behavior
A sequence of multiple self closing tags can be parsed.
Example:
<circle id="pointA" cx="100" cy="350" r="3" />
<circle id="pointB" cx="200" cy="200" r="3" />
Actual Behavior
<tag1 />
<tag2 />
seem to be parsed as:
<tag1>
<tag2>
</tag2>
</tag1>
so tag2 becomes a child of tag1.
Steps to Reproduce
For example try:
parse('<circle id="pointA" cx="100" cy="350" r="3" /><circle id="pointB" cx="200" cy="200" r="3" />')
I wonder if maybe this could be a domparser issue, not specific of this repo.