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.
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.