Skip to content

Fix bug with multi-line list items#6

Merged
ttscoff merged 1 commit into
ttscoff:mainfrom
dansteeves68:bugfix/multi-line-list-items
May 25, 2026
Merged

Fix bug with multi-line list items#6
ttscoff merged 1 commit into
ttscoff:mainfrom
dansteeves68:bugfix/multi-line-list-items

Conversation

@dansteeves68

Copy link
Copy Markdown
Contributor

I noticed the following unwanted behavior where an extra line is inserted into a multi-line list item.

This is my first time doing any rust. The test and solution are vibe coded with Opus 4.7.

Here is a shell session showing the bug:

$ cat -p tests/fixtures/multi-line-list-items.md                       
Here is a list
 
* this is a long-ish list item that needs to be longer than
  sixty chars followed by another one
* this is a list item

$ rust/target/release/md-fixup tests/fixtures/multi-line-list-items.md 
Here is a list

* this is a long-ish list item that needs to be longer than

  sixty chars followed by another one
* this is a list item

@ttscoff

ttscoff commented May 25, 2026

Copy link
Copy Markdown
Owner

I'm going to merge this, but tests are currently failing after my last PR merge and I may need to do some fixes.

@ttscoff ttscoff merged commit 81246cf into ttscoff:main May 25, 2026
1 of 2 checks passed
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.

2 participants