-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat(parser): adds CDATA nodes support #13
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for the fix! The issue you opened somehow didn't appear in my notifications inbox, so i missed it :(
Oh, and also, don't forget about including CDATA contents when converting to dictionaries! |
…viour to cdata nodes
Made the changes that you requested. I wonder if |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made the changes that you requested. I wonder if _dump and _dump_pretty funcs shouldn't be refactored too?
Thanks, correct, these need to be updated as well! You'll need to iterate over elements of XMLNode.cdata
and for each element add a corresponding CDATA node
I've made some changes, check if its everything correct. Also, sorry for leaving some errors on the first review request commit, I coded it really bad 😓 |
…ATA dumping as regular content, reorder and rename a few things.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested things locally, fixed a few things, looks good to me now. Thank you!
Solves #11.