-
Notifications
You must be signed in to change notification settings - Fork 396
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
[gnoweb]: Markdown links not rendering the expected path #3865
Comments
@ajnavarro This is not a gnoweb or Markdown bug, it's simply how browsers resolve relative URLs starting with a colon (or any kind of char). If you write Some (Standard) solutions:
Note: |
Colons are not defined in the HTTP hyperlink standards as special separator and it can be used as a valid character in path segments. That might cause problems. Fragments (#) and query (?) params work as I explained above with relative links. Because of that, I think we have to move from using colons to use fragments to handle URLs in a better way. If we don't do that, we are doomed to always copy and paste the complete realm path. If you are at If you are at |
Markdown links not rendering the expected path
Description
Gnoweb does not render markdown links correctly, if we have the following markdown code render at
http://127.0.0.1:8888/r/gov/dao/proxy
:The expected link must point to:
http://127.0.0.1:8888/r/gov/dao/proxy:2/votes
but it is actually pointing tohttp://127.0.0.1:8888/r/gov/dao:2/votes
Your environment
Steps to reproduce
Expected behaviour
Already explained on the description.
Actual behaviour
Already explained on the description
Proposed solution
Render the link as it should be. If it is not possible because we are using two dots that are not defined on the HTML hyperlink standards, ✨ use the standards ✨.
The text was updated successfully, but these errors were encountered: