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

Fix/jsx whitespace #900

Merged
merged 2 commits into from
Jan 19, 2022
Merged

Fix/jsx whitespace #900

merged 2 commits into from
Jan 19, 2022

Conversation

rschristian
Copy link
Member

Fixes #899

Modifies JSXText creation to strip out leading and trailing whitespace if it contains newlines before then replacing any interior whitespace with a space character.

@changeset-bot
Copy link

changeset-bot bot commented Jan 8, 2022

🦋 Changeset detected

Latest commit: 69b0496

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

This PR includes changesets to release 1 package
Name Type
wmr Patch

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

@rschristian
Copy link
Member Author

CI failure is a segfault on prerendering, looks like a recreation of #893 and maybe #896

@developit developit merged commit 2f7c74a into main Jan 19, 2022
@developit developit deleted the fix/jsx-whitespace branch January 19, 2022 22:45
@github-actions github-actions bot mentioned this pull request Jan 19, 2022
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.

Line breaks between tags and text nodes becomes whitespace if within a text node
2 participants