mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-03 21:36:36 +00:00
Problem with rendering Local Image Path with whitespaces to HTML #460
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @1001binary on GitHub (May 7, 2021).
Hello,
I had problem with rendering local image Path with whitespace to HTML. It didn't work. After that, I tried to replace whitespaces in path by %20. It worked fine.
Problem ❌
Worked ✔️
For image URL, it worked fine for both cases.
Best regards.
@MihaZupan commented on GitHub (May 9, 2021):
This is essentially Example 485/486 of the spec:
So to make the above example work:
This is image: @1001binary commented on GitHub (Jun 10, 2021):
Sorry for my late response and also thank you for your response.
Even though it's correct as the spec, for MarkdownTextBlock in UWP I found something incompatible such as rendering path. I had to adapt this in UWP.