Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

部分图片写法无法解析 #4618

Open
4 tasks done
1030504258 opened this issue Mar 12, 2025 · 1 comment
Open
4 tasks done

部分图片写法无法解析 #4618

1030504258 opened this issue Mar 12, 2025 · 1 comment
Labels
upstream Related to the dependencies

Comments

@1030504258
Copy link

Describe the bug

无法解析:

<img src="img/gmzyjx-a.png" style="zoom:60%;" />

可以解析:

<img src="./img/gmzyjx-a.png" style="zoom:60%;" />

![](img/gmzyjx-a.png)

Reproduction

Image

Expected behavior

这种写法正常应该能解析才对,这是符合html标准的

System Info

npm warn Unknown user config "home". This will stop working in the next major version of npm.
Need to install the following packages:
envinfo@7.14.0
Ok to proceed? (y) y


  System:
    OS: Windows 10 10.0.19045
    CPU: (8) x64 Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
    Memory: 4.10 GB / 15.96 GB
  Binaries:
    Node: 22.11.0 - C:\Program Files\nodejs\node.EXE    
    Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD      
    npm: 11.2.0 - C:\Program Files\nodejs\npm.CMD       
    pnpm: 10.6.2 - ~\AppData\Roaming\npm\pnpm.CMD       
  Browsers: {}
  npmPackages:
    vitepress: ^1.6.3 => 1.6.3

Additional context

Image

package.json

{
  "devDependencies": {
    "vitepress": "^1.6.3",
    "vue": "^3.5.13"
  },
  "scripts": {
    "dev": "vitepress dev",
    "build": "vitepress build",
    "preview": "vitepress preview"
  }
}

Validations

@1030504258 1030504258 added the bug: pending triage Maybe a bug, waiting for confirmation label Mar 12, 2025
@brc-dd brc-dd added upstream Related to the dependencies and removed bug: pending triage Maybe a bug, waiting for confirmation labels Mar 12, 2025
@brc-dd
Copy link
Member

brc-dd commented Mar 12, 2025

Seems to be a bug with vite-plugin-vue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Related to the dependencies
Projects
None yet
Development

No branches or pull requests

2 participants