-
Notifications
You must be signed in to change notification settings - Fork 11
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 replaces multiple spaces with a single space inside a string #411
Comments
hubisan
changed the title
Formatter replaces multiple spaces with a single space inside a string " " --> " "
Formatter replaces multiple spaces with a single space inside a string
Sep 21, 2023
mark-wiemer
added
semver-major
fixing this will require bumping the major version
and removed
semver-major
fixing this will require bumping the major version
labels
Oct 18, 2024
Because this is a bug, fixing this is not a semver-major change. Going to go ahead with this now |
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The formatter shouldn't replaces multiple spaces with a single space inside strings enclosed with quotations marks.
Snippet before formatting
Expected formatted output snippet
Multiple spaces inside a string should be preserved:
Actual formatted output snippet
Multiple spaces are replaced with a single space:
The text was updated successfully, but these errors were encountered: