Open
Description
- I confirm that this is an issue rather than a question.
Bug report
Images with spaces in name are not rendered at all.
Steps to reproduce
- Name an image with spaces in its name.
- Reference it in a Markdown file.
Here's the repo at the commit where the issue appears: https://github.com/sdaitzman/sam.daitzman.com/tree/dc79228452fd0bf8cd65f799ed3cf711ee32145a
And here's a commit where the issue has been resolved by removing spaces from the filename: https://github.com/sdaitzman/sam.daitzman.com/commit/f25208bc8fa058ead20784b6d91b4576af9b023b
What is expected?
The image appears.
What is actually happening?
The image does not appear.
Other relevant information
Related issue: markdown-it/markdown-it#428
- Output of
npx vuepress info
in my VuePress project:
Environment Info:
System:
OS: macOS 10.15.2
CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
Binaries:
Node: 12.14.1 - /usr/local/bin/node
Yarn: 1.21.1 - /usr/local/bin/yarn
npm: 6.13.4 - /usr/local/bin/npm
Browsers:
Chrome: 78.0.3904.97
Firefox: 72.0.2
Safari: 13.0.4
npmPackages:
@vuepress/core: 1.2.0
@vuepress/theme-default: 1.2.0
vuepress: ^1.2.0 => 1.2.0
npmGlobalPackages:
vuepress: Not Found