Skip to content

fix: delimit parenthesized autolinks - #291

Open
PathGao wants to merge 2 commits into
alecdotdev:masterfrom
PathGao:fix/markdown-parenthesized-autolink
Open

fix: delimit parenthesized autolinks#291
PathGao wants to merge 2 commits into
alecdotdev:masterfrom
PathGao:fix/markdown-parenthesized-autolink

Conversation

@PathGao

@PathGao PathGao commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Fixes #290

Parenthesized bare URLs followed immediately by text are rendered as explicit Markdown links, so the closing parenthesis and following text stay outside the URL.

Includes a Rust regression test for the reported Speedtest URL.

Depends on #286 because upstream master currently has the toolbar-test regression fixed there; merge #286 first.

@PathGao

PathGao commented Jul 31, 2026

Copy link
Copy Markdown
Contributor Author

@alecdotdev This is ready for review after #286. It adds a regression test and keeps the closing parenthesis plus adjacent text out of the bare URL.

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.

URL inside parentheses is parsed incorrectly when text immediately follows the closing parenthesis

1 participant