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 Trailing Spaces Breaking List Items and Checklist Items #1250

Merged
merged 2 commits into from
Dec 24, 2024

Conversation

pjkaufman
Copy link
Collaborator

Fixes #868

There was an issue where empty ordered, checklist, and list items were being broken by trailing spaces. This was because it did not ignore the first space after the indicator. This should be fixed with this latest change.

Changes Made:

  • Added UTs for several scenarios
  • Made sure to handle list items in particular and handle the case where a list item is empty

@pjkaufman pjkaufman added the bug Something isn't working label Dec 24, 2024
@pjkaufman pjkaufman self-assigned this Dec 24, 2024
@pjkaufman pjkaufman merged commit 25a3e05 into platers:master Dec 24, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Trailing spaces Removing extra Spaces at the end will affect the outline
1 participant