Quantcast
Channel: Whitespace in image paths
Viewing all articles
Browse latest Browse all 20

Whitespace in image paths

$
0
0

+++ Mike_Ward [Mar 28 15 16:58 ]:

Given:

![text](C:/Users/Mike/Pictures/Screenshots/Screenshot (1).png)

The space before (1) prevents this from being recognized as an image tag (CommonMark.Net engine). Tried URL encoding (%20) but that didn’t work. Are spaces not allowed in path names?

See http://spec.commonmark.org/0.18/#link-destination

You can include spaces if you put the whole thing inside pointy brackets
<C:/Users/Mike/Pictures/Screenshots/Screenshot (1).png>.

Or you could use an entity &#32;, though that’s uglier.

Read full topic


Viewing all articles
Browse latest Browse all 20

Trending Articles