You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Markdown 3.0.1.1
When the md and image files are store in a folder with "#" in the path preview does not work.
The image is correctly printed or embeded. But does not display in preview as show under
The text was updated successfully, but these errors were encountered:
mi-molette
changed the title
Image preview not workin when # in path
Image preview not working when # in path
Nov 9, 2023
Thanks for the report - I've fixed this issue which is due to the hash being invalid in a URL unless it's encoded. The base url is the problem but the same thing also applies for the other links in the page to script files and other resources.
Here's what this looks like now:
In this case the Markdown file lives in a folder like this:
where the folder includes a hash and a couple of other characters that can cause problems in a url.
Ironically full URL encoding for these paths doesn't work (ie. HttpUtility.UrlEncde()) as the encoded slashes do not work in the base and link urls, so I had create a custom encoder that only encodes the extended characters that break the file references.
I use Markdown 3.0.1.1
When the md and image files are store in a folder with "#" in the path preview does not work.
The image is correctly printed or embeded. But does not display in preview as show under
The text was updated successfully, but these errors were encountered: