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

Support spaceBeforeEmptyCloseTag setting with experimental formatter #1284

Merged

Conversation

JessicaJHee
Copy link
Contributor

Fixes #1245

Signed-off-by: Jessica He [email protected]

@JessicaJHee
Copy link
Contributor Author

This setting was already supported prior to this PR, I have updated the test.

@angelozerr
Copy link
Contributor

angelozerr commented Aug 24, 2022

Could you add 2 tests:

  • <a /> : test with lot of spaces and it should replace them just with one space.

<a          
 />

: test with some line separator, and it should replace them just with one space.

@JessicaJHee JessicaJHee force-pushed the issue1245-spaceBeforeEmptyCloseTag branch from 826e01a to 8a8865e Compare August 24, 2022 13:11
@JessicaJHee JessicaJHee force-pushed the issue1245-spaceBeforeEmptyCloseTag branch from 8a8865e to 970ebad Compare August 24, 2022 14:48
@angelozerr angelozerr merged commit 5bfe06a into eclipse:main Aug 24, 2022
@angelozerr
Copy link
Contributor

Thanks @JessicaJHee !

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

Successfully merging this pull request may close these issues.

Support xml.format.spaceBeforeEmptyCloseTag setting with experimental formatter
2 participants