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

#1103 breaks data uri images #1393

Closed
svalaskevicius opened this issue Aug 10, 2023 · 3 comments · Fixed by #1403
Closed

#1103 breaks data uri images #1393

svalaskevicius opened this issue Aug 10, 2023 · 3 comments · Fixed by #1403
Assignees
Labels
bug Something isn't working package:markdown

Comments

@svalaskevicius
Copy link

svalaskevicius commented Aug 10, 2023

Description

inline images break the whole vuepress now - i believe since #1103 as I've verified it started happening from the 62 version:

ENAMETOOLONG: name too long, open '/vuepress/pages/directory/data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0nMS4wJyBlbmNvZGluZz0.....

Reproduction

cannot as it is broken

Used Package Manager

yarn

System Info

root@b1f50e3e851f:/vuepress# yarn vuepress info
yarn run v1.22.19
warning package.json: No license field
$ /vuepress/node_modules/.bin/vuepress info

  System:
    OS: Linux 5.15 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
    CPU: (16) x64 Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz
    Memory: 49.41 GB / 62.56 GB
    Shell: 5.1.4 - /bin/bash
  Binaries:
    Node: 18.17.1 - /tmp/yarn--1691700743680-0.9770007364420021/node
    Yarn: 1.22.19 - /tmp/yarn--1691700743680-0.9770007364420021/yarn
    npm: 9.6.7 - /usr/local/bin/npm
  Utilities:
    Git: 2.30.2 - /usr/bin/git
  Browsers:
    Chrome: Not Found
    Firefox: Not Found
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.62
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-beta.62
    @vuepress/client: 2.0.0-beta.62 => 2.0.0-beta.62 (2.0.0-beta.66)
    @vuepress/core: 2.0.0-beta.62 => 2.0.0-beta.62
    @vuepress/markdown:  2.0.0-beta.62
    @vuepress/plugin-active-header-links:  2.0.0-beta.62
    @vuepress/plugin-back-to-top:  2.0.0-beta.62
    @vuepress/plugin-container:  2.0.0-beta.62
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-external-link-icon:  2.0.0-beta.62
    @vuepress/plugin-git:  2.0.0-beta.62
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom:  2.0.0-beta.62
    @vuepress/plugin-nprogress:  2.0.0-beta.62
    @vuepress/plugin-palette:  2.0.0-beta.62
    @vuepress/plugin-prismjs:  2.0.0-beta.62
    @vuepress/plugin-pwa: Not Found
    @vuepress/plugin-pwa-popup: Not Found
    @vuepress/plugin-register-components: 2.0.0-beta.62 => 2.0.0-beta.62
    @vuepress/plugin-search: Not Found
    @vuepress/plugin-shiki: Not Found
    @vuepress/plugin-theme-data:  2.0.0-beta.62
    @vuepress/plugin-toc: Not Found
    @vuepress/shared: 2.0.0-beta.62 => 2.0.0-beta.62 (2.0.0-beta.66)
    @vuepress/theme-default:  2.0.0-beta.62
    @vuepress/utils: 2.0.0-beta.62 => 2.0.0-beta.62 (2.0.0-beta.66)
    vue: ^3.2.45 => 3.2.45 (3.3.4)
    vue-loader: Not Found
    vue-router: ^4.1.6 => 4.1.6 (4.2.4)
    vuepress: 2.0.0-beta.62 => 2.0.0-beta.62
    vuepress-vite:  2.0.0-beta.62
    vuepress-webpack: Not Found

Done in 1.35s.
@Mister-Hope
Copy link
Member

Mister-Hope commented Aug 12, 2023

Inline images, are you talking about data URI?

That may be something we missed checking out

@svalaskevicius
Copy link
Author

svalaskevicius commented Aug 12, 2023

ah yes, sorry, I did mean data uri :) as seen in the error message I pasted

@Mister-Hope Mister-Hope changed the title Inline images are broken since #1103 #1103 breaks data uri images Aug 20, 2023
@meteorlxy meteorlxy added bug Something isn't working package:markdown labels Aug 25, 2023
@pedrogao
Copy link

same to me, what;s the fix version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package:markdown
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants