Skip to content

Remove trailing space for void elements #282

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 4 commits into from
Mar 24, 2023
Merged

Conversation

JoviDeCroock
Copy link
Member

@JoviDeCroock JoviDeCroock commented Feb 25, 2023

Marked as major in case people rely on this for tests

Fixes #279

@changeset-bot
Copy link

changeset-bot bot commented Feb 25, 2023

🦋 Changeset detected

Latest commit: 592a4ba

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
preact-render-to-string Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@andrewiggins
Copy link
Member

What's the benefit here? Seems like it could be a really difficult change for people to pick up if lots of tests use this.

@JoviDeCroock
Copy link
Member Author

JoviDeCroock commented Feb 25, 2023

The being more in-line with the output React produces and it being a tad smaller resounded with me, however open to rebuttal there :D

Note that the next version will be a major either way

@developit
Copy link
Member

Not sure how this works with Changesets, but could we somehow put this into whatever the next major is, rather than creating a major for this change on its own?

@JoviDeCroock
Copy link
Member Author

@developit added it

Copy link
Member

@andrewiggins andrewiggins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React compat seems useful. Let's do it in next major

@JoviDeCroock JoviDeCroock merged commit 6376f62 into master Mar 24, 2023
@JoviDeCroock JoviDeCroock deleted the remove-trailing-space branch March 24, 2023 08:01
@github-actions github-actions bot mentioned this pull request Mar 24, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Void elements have whitespace at closing
3 participants