-
-
Notifications
You must be signed in to change notification settings - Fork 74
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
Double closing curly braces ( }} ) seem to break the detection #52
Comments
Looks like dupe of #23. IMHO worth to RIP one more example there :) |
I thinks this does not needs fix in linkify-it, but you can add kludge to your app: replace |
This is still an issue. >:[ |
@eramdam hi after many years :). I'd like to clarify status of this issue.
|
Close as dupe of #23 |
Consider this string
Even though curly braces are not common in URL, one would expect for
https://domain.com/d/foo?email={{foo.bar}}&name={{foo.name}}
to be matched to an actual link.However linkify-it seems to stop matching after the 2nd
}
character in the URL, resulting in these matches:Notice how
foo.name
is being matched as another link because of that 😅Once again, I know that
{
and}
are not valid characters per the RFC, but Slack and other softwares correctly match this case so I guess there's something that can be done to fix that in linkify-it 😊I'm happy to provide more details/examples.
The text was updated successfully, but these errors were encountered: