-
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
Link URL With Spaces Does Not Render #1639
Comments
According to the CommonMark spec:
So you would need to use |
It looks like marked doesn't treat pointy brackets correctly in links though so only the percent encoding will work currently. |
See also markedjs/marked#1639 for not rendered links with spaces
🎉 This issue has been resolved in version 1.2.6 🎉 The release is available on: Your semantic-release bot 📦🚀 |
When a link with spaces in the URL it does render the element as a link.
Examples
[My Link](http://somesite.com/my path)
[My Link](http://somesite.com/my file name.pdf)
When I'm adding the markdown syntax I am now making sure I encode that href url before it gets rendered by marked.
The text was updated successfully, but these errors were encountered: