Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

An inserted image by drag and drop is not rendered if its path includes spaces. #95

Closed
kg86 opened this issue Oct 6, 2016 · 2 comments · Fixed by #97
Closed

An inserted image by drag and drop is not rendered if its path includes spaces. #95

kg86 opened this issue Oct 6, 2016 · 2 comments · Fixed by #97
Labels
Milestone

Comments

@kg86
Copy link

kg86 commented Oct 6, 2016

When drag and drop an image of path /path/to/fi le.png, marp inserts ![](/path/to/fi le.png), but it doesn't work.

If replace the space with %20, the image is rendered.

If marp keeps this rendering behavior, the path should be inserted after replacing the space with %20.

However, I prefer that marp will supports both cases ![](/path/to/fi le.png) and ![](/path/to/fi%20le.png) since github markdown flavor also supports both.

This issue is related to #87

@yhatt yhatt added this to the v0.0.9 milestone Oct 8, 2016
@yhatt
Copy link
Owner

yhatt commented Oct 8, 2016

...and also related #71. I moved the bug label from #71 to this issue.

@yhatt
Copy link
Owner

yhatt commented Oct 8, 2016

OK, Marp v0.0.9pre would replace from whitespace to %20 by inserting image with D&D.

I want to continue a discussion about syntax, in #87...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants