core
core copied to clipboard
[Bug report] fail to resolve image when using single quote in <img> tag
Description
Reproduction
null
Used Package Manager
yarn
System Info
System:
OS: macOS 12.4
CPU: (8) x64 Apple M1
Memory: 28.94 MB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v16.15.0/bin/yarn
npm: 8.5.5 - ~/.nvm/versions/node/v16.15.0/bin/npm
Utilities:
Git: 2.30.1 - /usr/bin/git
Browsers:
Chrome: 102.0.5005.61
Edge: Not Found
Firefox: Not Found
Safari: 15.5
npmPackages:
@vuepress/bundler-vite: 2.0.0-beta.48
@vuepress/bundler-webpack: Not Found
@vuepress/cli: 2.0.0-beta.48
@vuepress/client: 2.0.0-beta.48
@vuepress/core: 2.0.0-beta.48
@vuepress/markdown: 2.0.0-beta.48
@vuepress/plugin-active-header-links: 2.0.0-beta.48
@vuepress/plugin-back-to-top: 2.0.0-beta.48
@vuepress/plugin-container: 2.0.0-beta.48
@vuepress/plugin-docsearch: Not Found
@vuepress/plugin-external-link-icon: 2.0.0-beta.48
@vuepress/plugin-git: 2.0.0-beta.48
@vuepress/plugin-google-analytics: Not Found
@vuepress/plugin-medium-zoom: 2.0.0-beta.48
@vuepress/plugin-nprogress: 2.0.0-beta.48
@vuepress/plugin-palette: 2.0.0-beta.48
@vuepress/plugin-prismjs: 2.0.0-beta.48
@vuepress/plugin-pwa: Not Found
@vuepress/plugin-pwa-popup: Not Found
@vuepress/plugin-register-components: Not Found
@vuepress/plugin-search: Not Found
@vuepress/plugin-shiki: Not Found
@vuepress/plugin-theme-data: 2.0.0-beta.48
@vuepress/plugin-toc: Not Found
@vuepress/shared: 2.0.0-beta.48
@vuepress/theme-default: 2.0.0-beta.48
@vuepress/utils: 2.0.0-beta.48
vue: 3.2.37
vue-loader: Not Found
vue-router: 4.0.16
vuepress: ^2.0.0-beta.48 => 2.0.0-beta.48
vuepress-vite: 2.0.0-beta.48
vuepress-webpack: Not Found
Try using double quote " instead
it work, why 1.x support single quote, but 2.x not support
Well, it's kind of a bug and should be tracked.