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

feat: do not strip /xa0 (nbsp) when removing duplicate whitespace #29743 #20

Merged
merged 1 commit into from
Aug 30, 2024

Conversation

skjeggestad
Copy link
Contributor

After changing to an updated editor in the CMS that use Unicode xa0 to represent non-breaking space instead of the HTML encoding   we lost nbsps on publishing and conversion to Portable Text due to the whitespace reducing HtmlDecode function override. The regex has been rewritten to account for this.

@skjeggestad skjeggestad requested a review from kim-nhi August 30, 2024 09:43
@skjeggestad skjeggestad self-assigned this Aug 30, 2024
@kim-nhi kim-nhi merged commit 8f8295c into master Aug 30, 2024
2 checks passed
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