-
-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parentheses in URLs break linkifying #28
Comments
Context: aca71b8 TL;DR: support was removed because we don't want the final |
I think this should be covered by a more sophisticated regex which would make the matching non-greedy for the last parenthesis if it detects a markdown link. This may prove difficult, though and we could work around it by detecting if you're looking at markdown or not. |
See: kevva/url-regex#35 (comment) I think this can be fixed now. We need to use the lookbehind operator in the |
This comment has been minimized.
This comment has been minimized.
I transferred the issue here because this can't be solved in Refined GitHub |
@fregante edit: Issue transferred from refined-github. This issue still happens in v3.1.0
See this line:
The URL contains parentheses which make the anchor cut off the URL in both the
href
and the visual link producing a wrong URL.Original valid URL:
The text was updated successfully, but these errors were encountered: