Skip to content

Fix parsing xml CDATA values#301

Merged
tomas merged 1 commit intotomas:masterfrom
adexin-team:master
Mar 17, 2020
Merged

Fix parsing xml CDATA values#301
tomas merged 1 commit intotomas:masterfrom
adexin-team:master

Conversation

@adexin-team
Copy link

Currently xml values inside CDATA result to empty string.
For example xml

<Tag>
  <![CDATA[live]]>
</Tag>

results in [{ name: 'Tag', value: '', attributes: [], children: [] }]
while expected result would be [{ name: 'Tag', value: 'live', attributes: [], children: [] }]

@tomas tomas merged commit 0827c56 into tomas:master Mar 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants