-
Notifications
You must be signed in to change notification settings - Fork 93
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
Formatter either adds or removes content in malformed xml #227
Labels
bug
Something isn't working
formatting
This issue or enhancement is related to formatting support
in progress
Milestone
Comments
fbricon
added
bug
Something isn't working
formatting
This issue or enhancement is related to formatting support
labels
Nov 14, 2018
In this case (missing bracket L9), the formatter works as expected: <?xml version="1.0" encoding="UTF-8"?>
<resources something="foo">
<resource name="res00">
<property name="propA" value="..."/>
<property name="propB" value="..."/>
</resource>
<resource ddd="ddd" name="">
<property name="one" value="..."/>
<property name="two" value="..."
</resource>
</resources> |
Looks like malformed closing tags of enclosing elements get removed |
NikolasKomonen
added a commit
to NikolasKomonen/lsp4xml
that referenced
this issue
Dec 4, 2018
…ng issues. Fixes eclipse-lemminx#227 Signed-off-by: Nikolas Komonen <[email protected]>
NikolasKomonen
added a commit
to NikolasKomonen/lsp4xml
that referenced
this issue
Dec 4, 2018
…ng issues. Fixes eclipse-lemminx#227 Signed-off-by: Nikolas Komonen <[email protected]>
NikolasKomonen
added a commit
to NikolasKomonen/lsp4xml
that referenced
this issue
Dec 5, 2018
…ng issues. Fixes eclipse-lemminx#227 Signed-off-by: Nikolas Komonen <[email protected]>
NikolasKomonen
added a commit
to NikolasKomonen/lsp4xml
that referenced
this issue
Dec 5, 2018
…ng issues. Fixes eclipse-lemminx#227 Signed-off-by: Nikolas Komonen <[email protected]>
NikolasKomonen
added a commit
that referenced
this issue
Dec 5, 2018
…ng issues. (#249) Fixes #227 Signed-off-by: Nikolas Komonen <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
formatting
This issue or enhancement is related to formatting support
in progress
In this document, a closing bracket is missing L8:
When invoking the formatter, a closing bracket is added:
Here, closing bracket is also missing L8:
But then, the formatter removes the line completely!
The text was updated successfully, but these errors were encountered: