Skip to content

Trim spaces off end of parsed lines#785

Merged
Martin1887 merged 1 commit intopulldown-cmark:masterfrom
notriddle:notriddle/trim-spaces
Jan 21, 2024
Merged

Trim spaces off end of parsed lines#785
Martin1887 merged 1 commit intopulldown-cmark:masterfrom
notriddle:notriddle/trim-spaces

Conversation

@notriddle
Copy link
Collaborator

Fixes #715

@notriddle notriddle force-pushed the notriddle/trim-spaces branch from d20ad18 to 5b52bd6 Compare November 24, 2023 23:38
@Martin1887
Copy link
Collaborator

Very interesting, this was a pending issue for the 0.10 release, thanks! I have to carefully check the changes, and @raphlinus review would also be very appreciated.

Copy link
Collaborator

@raphlinus raphlinus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't gone deep into the logic, but this seems fairly straightforward - the existing behavior is (subtly) buggy, there are tests to cover that, and the author is someone very familiar with the codebase. I'm comfortable with it going in, and if there are problems, hopefully they'll surface in time. Thanks for the work on this!

@notriddle notriddle force-pushed the notriddle/trim-spaces branch from 5b52bd6 to 28165a5 Compare January 20, 2024 21:22
@notriddle notriddle force-pushed the notriddle/trim-spaces branch from 28165a5 to a4cdd6a Compare January 20, 2024 21:25
@Martin1887
Copy link
Collaborator

Perfect, thanks!

@Martin1887 Martin1887 merged commit ef47d32 into pulldown-cmark:master Jan 21, 2024
@notriddle notriddle deleted the notriddle/trim-spaces branch January 21, 2024 18:33
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.

Whitespace before EOL sometimes incorrectly preserved

3 participants