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

Trim content for newlines only #3006

Merged
merged 1 commit into from
Sep 13, 2022
Merged

Trim content for newlines only #3006

merged 1 commit into from
Sep 13, 2022

Conversation

fantactuka
Copy link
Contributor

Bug introduced in #2969 where content was trimmed even if there were no newlines to clean. This PR fix it by only trimming/ignoring empty content if it has newlines

@fantactuka fantactuka self-assigned this Sep 13, 2022
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 13, 2022
@vercel
Copy link

vercel bot commented Sep 13, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
lexical ✅ Ready (Inspect) Visit Preview Sep 13, 2022 at 3:29PM (UTC)
lexical-playground ✅ Ready (Inspect) Visit Preview Sep 13, 2022 at 3:29PM (UTC)

@fantactuka fantactuka merged commit 6343d71 into main Sep 13, 2022
@fantactuka fantactuka deleted the newlines-fix branch September 13, 2022 15:41
@zurfyx zurfyx mentioned this pull request Sep 23, 2022
acywatson pushed a commit that referenced this pull request Oct 18, 2022
thegreatercurve pushed a commit that referenced this pull request Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants