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 131ed20
Browse filesBrowse the repository at this point in the historyBrowse files
fix(web): only strip URL trailing marker when it pairs with an opener
Trailing *_~` characters were stripped from every linkified URL, even
when they're legitimate URL path characters (e.g.
https://example.com/file_name_ linked to /file_name instead of
/file_name_). Now a trailing marker is only dropped when the same
character immediately precedes the URL, confirming it's an actual
wrapping delimiter (e.g. *https://example.com*) rather than part of
the URL itself. Sentence punctuation and balanced-parenthesis handling
are unchanged.
Also fixes a typo ("oe" -> "or") in a test case.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: a795297d-527c-4f30-a35a-ab379f2d50a8
0 commit comments