Repository navigation
Conversation
PR HealthLicense Headers ✔️
All source files should start with a license header. Unrelated files missing license headers
This check can be disabled by tagging the PR with Breaking changes ✔️
This check can be disabled by tagging the PR with Unused Dependencies ✔️
For details on how to fix these, see dependency_validator. This check can be disabled by tagging the PR with Coverage ✔️
This check for test coverage is informational (issues shown here will not fail the PR). This check can be disabled by tagging the PR with API leaks ✔️The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.
This check can be disabled by tagging the PR with Changelog Entry ✔️
Changes to files need to be accounted for in their respective changelogs. This check can be disabled by tagging the PR with |
There was a problem hiding this comment.
Code Review
This pull request fixes a performance issue where repeated unclosed inline link destinations and titles in LinkSyntax caused quadratic scan-and-rewind times. It addresses this by limiting parentheses nesting, rejecting unescaped < characters within bracketed destinations, and adding early exits for invalid states. A regression test has been added to verify the performance improvement. I have no feedback to provide.
faa6d22 to
903aa1d
Compare
Reject unescaped
<inside bracketed inline link destinations, unescaped(inside paren-delimited link titles, and unbalanced or deeply nested parentheses in bare inline link destinations per CommonMark §6.3.