mushanshitiancai / vscode-paste-image

paste image from clipboard to markdown/asciidoc directly!
MIT License
423 stars 128 forks source link

Does not support spaces in the file name #24

Closed raphaelfeng closed 6 years ago

raphaelfeng commented 6 years ago

When using ${currentFileNameWithoutExt} or ${currentFileName}, if there are spaces in the file name, the link would not work.

Need to encode space to %20 to make it work.

mushanshitiancai commented 6 years ago

Hello, you can update vscode-paste-image to v1.0.1 to fix this issue.