Closed martinr92 closed 4 years ago
The formatting removes tabs within the CDATA if the CDATA is a XML.
Example (original) XML:
<xml> <element><![CDATA[asdf]]></element> <element><![CDATA[<secondXml> <formattedNode>val</formattedNode> </secondXml>]]></element> </xml>
The XML above becomes to:
As you can see the tab (or spaces) in front of the node "formattedNode" within the CDATA gets removed. Content within CDATA shouldn't get touched in anyway.
default / not changed
XML Tools Version 2.5.0
Visual Studio Code 1.40.2
Windows 10
Description
The formatting removes tabs within the CDATA if the CDATA is a XML.
Example (original) XML:
The XML above becomes to:
As you can see the tab (or spaces) in front of the node "formattedNode" within the CDATA gets removed. Content within CDATA shouldn't get touched in anyway.
Formatter Implementation
default / not changed
XML Tools Version
XML Tools Version 2.5.0
VS Code Version
Visual Studio Code 1.40.2
Operating System
Windows 10