Skip to content

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

Merged
trueadm merged 3 commits into
mainfrom
fix-linebreaks-and-other-bugs
Sep 10, 2021
Merged

trueadm merged 3 commits into
mainfrom
fix-linebreaks-and-other-bugs

Conversation

@trueadm

@trueadm trueadm commented Sep 10, 2021

Copy link
Copy Markdown
Collaborator

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