Skip to content

Self closing tags with periods in their name are parsed nested instead of as siblings #1015

@jonas-k

Description

@jonas-k

Code like this has the wrong tree structure after parsing:

<Parent.Element>
    <Child.Element name="first"/>
    <Child.Element name="second"/>
    <Child.Element name="third"/>
</Parent.Element>

The resulting structure is:

<Parent.Element>
    <Child.Element name="first">
        <Child.Element name="second">
            <Child.Element name="third">
</Parent.Element>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions