Skip to content

fix: don't strip same-line whitespace#42

Merged
Princesseuh merged 1 commit into
feat/rustfrom
fix/jsx-whitespace
Jun 8, 2026
Merged

fix: don't strip same-line whitespace#42
Princesseuh merged 1 commit into
feat/rustfrom
fix/jsx-whitespace

Conversation

@Princesseuh

Copy link
Copy Markdown
Member

Changes

Found while making it the default in Astro 7, compressHTML: jsx was unusable because it stripped a bunch of same-line whitespace it shouldn't have

Testing

Updated and added tests

Docs

N/A

@changeset-bot

changeset-bot Bot commented Jun 4, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 1a52961

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

This PR includes changesets to release 2 packages
Name Type
@astrojs/compiler-binding Patch
@astrojs/compiler-rs 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

@Princesseuh Princesseuh merged commit 23038db into feat/rust Jun 8, 2026
6 checks passed
@Princesseuh Princesseuh deleted the fix/jsx-whitespace branch June 8, 2026 20:52
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.

2 participants