-
Notifications
You must be signed in to change notification settings - Fork 288
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
AutoLink extension links invalid protocol-only (no host) URIs #99
Comments
|
Thanks for the quick response! The line I typed was:
...and on more careful inspection (sorry!), the linked portion includes [only] the first dot (eg, Is PS md in context: https://algorithmia.com/algorithms/web/SocialMediaImageRecommender |
Thanks for including the full source :). Yeah, I think it's valid because host can just be a single I've raised robinst/autolink-java#15 to fix it there, but we can also leave this one open until we bump the dependency here. |
Wow that was fast @robinst -- I see robinst/autolink-java#15 is already fixed! Thanks for being awesome. Closing out. |
This change stops these and other examples from being linked: http://. http://" http://<space>
Released in 0.10.0 now: https://github.com/atlassian/commonmark-java/blob/master/CHANGELOG.md#0100---2017-09-14 |
Awesome, Robin! Thanks!! |
It is common to type only "http://" (not followed by any hostname etc) in the process of creating technical documentation.
The AutoLink extension incorrectly attempts to link these, resulting in ugly documentation.
URIs are invalid without a host portion:
The text was updated successfully, but these errors were encountered: