Skip to content

Fix URL extraction for links with balanced parentheses#24

Merged
dvdstelt merged 1 commit intomainfrom
fix/parentheses-in-urls
Mar 30, 2026
Merged

Fix URL extraction for links with balanced parentheses#24
dvdstelt merged 1 commit intomainfrom
fix/parentheses-in-urls

Conversation

@dvdstelt
Copy link
Copy Markdown
Owner

URLs like Wikipedia's Topic_(details) were truncated at the first closing paren. The inline link regex now supports one level of nested parentheses, matching CommonMark behavior.

URLs like Wikipedia's Topic_(details) were truncated at the first
closing paren. The inline link regex now supports one level of
nested parentheses, matching CommonMark behavior.
@dvdstelt dvdstelt self-assigned this Mar 30, 2026
@dvdstelt dvdstelt merged commit 109c550 into main Mar 30, 2026
3 checks passed
@dvdstelt dvdstelt deleted the fix/parentheses-in-urls branch March 30, 2026 22:50
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