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

Attribute value without a key is removed while formatting #305

Closed
NikolasKomonen opened this issue Feb 27, 2019 · 1 comment
Closed

Attribute value without a key is removed while formatting #305

NikolasKomonen opened this issue Feb 27, 2019 · 1 comment
Assignees
Labels
bug Something isn't working enhancement New feature or request formatting This issue or enhancement is related to formatting support
Milestone

Comments

@NikolasKomonen
Copy link
Contributor

In a case like:

<a bb="asd" "aaa"> </a>

the value "aaa" will be lost since it hits an unknown state.

In similar situations these unknown states need to atleast remember the content or else it will be lost.

@NikolasKomonen NikolasKomonen self-assigned this Feb 27, 2019
@NikolasKomonen NikolasKomonen added bug Something isn't working enhancement New feature or request labels Feb 27, 2019
@angelozerr angelozerr added the formatting This issue or enhancement is related to formatting support label Jun 29, 2022
@angelozerr angelozerr added this to the 0.21.0 milestone Jun 29, 2022
@angelozerr
Copy link
Contributor

This issue is about formatting, experimental formatter https://github.com/redhat-developer/vscode-xml/blob/master/docs/Formatting.md#xmlformatexperimental fix this issue.

@angelozerr angelozerr changed the title Fault tolerance needs improvement Attribute value without a key is removed while formatting Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request formatting This issue or enhancement is related to formatting support
Projects
None yet
Development

No branches or pull requests

2 participants