Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix parsing xml CDATA values #301

Merged
merged 1 commit into from
Mar 17, 2020
Merged

Fix parsing xml CDATA values #301

merged 1 commit into from
Mar 17, 2020

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