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

Build operation cannot handle encoded image URL characters #2278

Closed
3 tasks done
justinaskav opened this issue Apr 23, 2023 · 1 comment
Closed
3 tasks done

Build operation cannot handle encoded image URL characters #2278

justinaskav opened this issue Apr 23, 2023 · 1 comment
Labels
bug: pending triage Maybe a bug, waiting for confirmation

Comments

@justinaskav
Copy link

Describe the bug

The same as #220, it wasn't solved

In the markdown file, When reference a image file with encoded URL, it works in the dev mode, but it would fail to build.

Reproduction

  1. Create an image with name, e.g. A B.jpeg
  2. Add image to markdown file, like this: ![](./A%20B.jpeg)
  3. run npm run docs:dev to make sure that URL is correct
  4. run npm run docs:build

Example: https://stackblitz.com/edit/vite-zztdyw?file=docs/index.md

Expected behavior

Should build successfully

System Info

System:
    OS: macOS 13.2.1
    CPU: (8) arm64 Apple M1 Pro
    Memory: 102.05 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.8.1 - /opt/homebrew/bin/node
    npm: 9.6.4 - /opt/homebrew/bin/npm
  Browsers:
    Safari: 16.3
  npmPackages:
    vitepress: ^1.0.0-alpha.73 => 1.0.0-alpha.73

Additional context

image

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@justinaskav justinaskav added the bug: pending triage Maybe a bug, waiting for confirmation label Apr 23, 2023
@zonemeen
Copy link
Collaborator

Duplicate of #573

@brc-dd brc-dd closed this as not planned Won't fix, can't repro, duplicate, stale Apr 28, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug: pending triage Maybe a bug, waiting for confirmation
Projects
None yet
Development

No branches or pull requests

3 participants