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: tab whitespace not removed in JSXText #228

Merged
merged 3 commits into from
Apr 8, 2024
Merged

Conversation

marvinhagemeister
Copy link
Contributor

@marvinhagemeister marvinhagemeister commented Apr 8, 2024

This PR fixes an issue in the JSX precompile transform where leading and trailing whitespace would not be removed when composed of tab characters.

Fixes denoland/deno#23030

@marvinhagemeister marvinhagemeister merged commit 1c3eb7f into main Apr 8, 2024
2 checks passed
@marvinhagemeister marvinhagemeister deleted the precompile-space branch April 8, 2024 22:17
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.

Precompiled JSX shouldn't preserve spaces
2 participants