Skip to content

fix(markdown): preserve links in list items - #270

Open
rasokiwayami wants to merge 1 commit into
drillan:mainfrom
rasokiwayami:fix/preserve-list-links
Open

rasokiwayami wants to merge 1 commit into
drillan:mainfrom
rasokiwayami:fix/preserve-list-links

Conversation

@rasokiwayami

Copy link
Copy Markdown

Links inside list items were stripped before inline conversion, so converting an article from HTML to Markdown and back silently removed hyperlinks from reference lists.

Convert supported inline elements before removing residual HTML tags in list items. Regression tests cover ordered and unordered lists, nested lists, formatted link labels, and HTML → Markdown → HTML preservation.

Validation: unit tests, mocked integration tests, contract tests, Ruff lint/format, and mypy. No authenticated note.com operations are needed for these tests.

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.

1 participant