mohzy83 / NppMarkdownPanel

Lightweight Notepad++ plugin to preview Markdown files
MIT License
228 stars 37 forks source link

Links pointing to file with whitespace (%20) is incorrectly parsed (%2520) #101

Open jogerj opened 2 months ago

jogerj commented 2 months ago

Somewhat related to #39

When a url points to a local file [foo](./sub%20folder/foo.txt) it generates a path of i.e. file:///C:/Users/FooUser/path/to/sub%2520folder/filename.txt. In this case, the % character is parsed into %25 so the whitespace rendered becomes %2520, which naturally does not work

image