vscode-xml
vscode-xml copied to clipboard
Added spaces before CDATA
Description
Before formatting
<trans-unit id="general.mobile" resname="general.mobile">
<source>Mobile <![CDATA[(<768px)]]></source>
<target>Mobil <![CDATA[(<768px)]]></target>
</trans-unit>
After formatting first time
<trans-unit id="general.mobile" resname="general.mobile">
<source>Mobile <![CDATA[(<768px)]]></source>
<target>Mobil <![CDATA[(<768px)]]></target>
</trans-unit>
After formatting a second time
<trans-unit id="general.mobile" resname="general.mobile">
<source>Mobile <![CDATA[(<768px)]]></source>
<target>Mobil <![CDATA[(<768px)]]></target>
</trans-unit>
More spaces are added each time
Formatter Implementation
Which XML Formatter implementation are you using (the value of your xmlTools.xmlFormatterImplementation
setting).
v2
XML Tools Version
What version of XML Tools are you using? XML Tools v2.5.1
VS Code Version
What version of VS Code are you using? Version: 1.68.1
Operating System
What OS (and version) are you using? MacOS 12.4