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

Clean up block linebreak logic + fix bugs with isBefore #590

Merged
merged 3 commits into from
Sep 10, 2021

Conversation

trueadm
Copy link
Collaborator

@trueadm trueadm commented Sep 10, 2021

This cleans up the reconciliation line break logic into a central location and updates the heuristic to account for blocks with trailing linebreaks. Furthermore, it uncovered a bug with isBefore logic.

@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 10, 2021
@trueadm trueadm merged commit f1ac35f into main Sep 10, 2021
@trueadm trueadm deleted the fix-linebreaks-and-other-bugs branch September 10, 2021 17:11
acywatson pushed a commit that referenced this pull request Apr 9, 2022
* Clean up block linebreak logic + fix bugs with isBefore

* Add comment

* Fix various bugs
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.

2 participants