Skip to content

xmlElement before a textNode is ignored #14

@editedredx

Description

@editedredx

When creating an xmlElement right before a textNode on the same level it is ignored.

xml(
    {
        test:[
            {'foo1':''},
            {'bar1':''},
            'textNode',
            {'foo2':''},
            {'bar2':''}
        ]
    }
)

Yields the result

<test><foo1></foo1>textNode<foo2></foo2><bar2></bar2></test>

Notice the lack of bar1

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