You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 60366b2
Browse filesBrowse the repository at this point in the historyBrowse files
fix(submit): unwrap hard-wrapped list items in PR descriptions (#43)
* fix(submit): unwrap hard-wrapped list items in PR descriptions
List items that were hard-wrapped at ~72 columns in commit messages
would produce broken markdown in generated PR descriptions—the
continuation line became an orphan paragraph between list items.
- Add `isListItem()` to detect list markers (including nested/indented)
- Treat list items as accumulation groups (like paragraphs) so
continuations are joined back into the item
- Check list continuations before the 4-space indent rule so nested list
continuations (2 nesting + 2 continuation = 4 spaces) aren't
misidentified as indented code blocks
* fix(submit): clarify comment about non-list block element check
Explain why `isBlockElement` is reached only for non-list elements:
lists are detected and accumulated earlier via `isListItem`.
0 commit comments