dylang / dylang/node-xml

xmlElement before a textNode is ignored

Open
#14 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
283
Forks
50
PR merge metrics
No merged PRs in 30d

Description

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

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

Yields the result

``` xml
textNode
```

Notice the lack of bar1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.