jrblevin / markdown-mode

Emacs Markdown Mode
http://jblevins.org/projects/markdown-mode/
GNU General Public License v3.0
875 stars 160 forks source link

Should filename links be URI-decoded? #805

Closed josephmturner closed 8 months ago

josephmturner commented 8 months ago

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

josephmturner commented 8 months ago

Fixed in #806. Thank you!!