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

Added spaces before CDATA #381

Open
tlueder opened this issue Jul 5, 2022 · 0 comments
Open

Added spaces before CDATA #381

tlueder opened this issue Jul 5, 2022 · 0 comments

Comments

@tlueder
Copy link

tlueder commented Jul 5, 2022

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

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

No branches or pull requests

1 participant