-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
URLs wrapped in quotes include closing quote #1716
Comments
A workaround would be to use angle brackets around the url
|
Here's another test case for this issue which I encountered in Sourcegraph's UI (uses
|
If the URL is in square brackets and GFM is enabled, then the right square bracket is also part of the generated link. Could this be the same problem? Example: |
@dru1 it looks like that isn't a valid link in GFM anyway example: You need angle brackets to make it a link example: |
@UziTech Thanks, this might help in my case. Just for clarification: I wonder, if |
Yes that is a bug in marked. Unfortunately GFM extensions are very poorly documented so there are a lot of those edge cases that are not defined in the spec. |
problem: In browser last quotes are part of the link. Tested in firefox, vivaldi clicking on link does nothing. solution: Remove quotes: URL location: https://jitsi.github.io/handbook/docs/user-guide/user-guide-start-a-jitsi-meeting More info about github markdown bug here: URLs wrapped in quotes include closing quote #1716 markedjs/marked#1716
Describe the bug
With GFM enabled, URLs wrapped in quotes are linked, but the closing quote is also included in the final output (Lexer output to be precise)
To Reproduce
Expected behavior
The closing quote should not be part of URL as well as linking text.
The text was updated successfully, but these errors were encountered: