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

CDATA Format for body in XML export #65

Open
desplesda opened this issue Sep 18, 2019 · 0 comments
Open

CDATA Format for body in XML export #65

desplesda opened this issue Sep 18, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@desplesda
Copy link
Collaborator

Issue by jmcshopes
Tuesday May 15, 2018 at 08:55 GMT
Originally opened as InfiniteAmmoInc/Yarn#65


It would be helpful to have a CDATA container on the body element within the XML format so that angled brackets can be used without making the XML poorly structured.

The highlighting of conditionals/code snippets contained in <<>> is very helpful and a good way to have inline code, but it's a bit of a problem when using Yarn as a way to generate XML files, as angle brackets are interpreted by most parsers as starting or ending a tag.

If the whole thing is in a CDATA container then any characters can be used and XML parsers will know to treat the whole thing as a block of characters rather than interpreting angle brackets as markup.

@desplesda desplesda added the enhancement New feature or request label Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant