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(ssr): do not serialize ZWJ characters #205

Merged
merged 1 commit into from
Aug 18, 2023
Merged

fix(ssr): do not serialize ZWJ characters #205

merged 1 commit into from
Aug 18, 2023

Conversation

nolanlawson
Copy link
Contributor

BREAKING CHANGE: snapshots must be updated

Fixes #204

Replaces all ZWJ characters before serializing SSR snapshots. This deals with how empty text nodes are serialized in SSR (see salesforce/lwc#2656).

Some of these tests won't actually have an observable difference until salesforce/lwc#3649 is merged. You'll just have to take my word for it that the snapshots are the same before and after that change. (I tested manually.)

BREAKING CHANGE: snapshots must be updated
@nolanlawson nolanlawson merged commit 4f873dc into master Aug 18, 2023
1 check passed
@nolanlawson nolanlawson deleted the nolan/zwj branch August 18, 2023 17:31
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.

Extra whitespace not removed for SSR snapshots
2 participants