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

Convert characters '&', '<' and '>' to entities and back when removing and reinserting the CDATA elements. #30

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sligodave
Copy link

If the string between the CDATA elements contain entities, the indent will fail as they don't currently get converted to xml entities.
This commit will create entities where needed and also remove them again when the CDATA elements are reinserted after the indent.

sligodave and others added 2 commits April 26, 2013 10:58
If the string between the CDATA elements contain entities, the indent will fail as they don't currently get converted to xml entities.
This commit will create entities where needed and also remove them again when the CDATA elements are reinserted after the indent.
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.

1 participant