Skip to content
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

Should filename links be URI-decoded? #805

Closed
josephmturner opened this issue Oct 20, 2023 · 1 comment
Closed

Should filename links be URI-decoded? #805

josephmturner opened this issue Oct 20, 2023 · 1 comment

Comments

@josephmturner
Copy link

josephmturner commented Oct 20, 2023

Thank you for markdown-mode!!!

Expected Behavior

Given two files:

.
├── bar baz.md
└── foo.md

It is currently possible to link from foo.md to bar baz.md with [bar baz](<bar baz.md>) (as you explained here). Should [bar baz](bar%20baz.md) also work? What about [bar baz](<bar%20baz.md>)?

I see that #575 calls url-unhex-string for inline images.

Actual Behavior

[bar baz](bar%20baz.md) links to the nonexistent file bar%20baz.md.

Software Versions

  • Markdown Mode: markdown-mode, version 2.7-alpha
  • Emacs: GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37, cairo version 1.16.0)
  • OS: Debian 12
@josephmturner
Copy link
Author

Fixed in #806. Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant