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

The contents of HTML style tags are not output correctly #7966

Closed
7 tasks done
trtrtr6 opened this issue Apr 30, 2022 · 1 comment
Closed
7 tasks done

The contents of HTML style tags are not output correctly #7966

trtrtr6 opened this issue Apr 30, 2022 · 1 comment
Labels
p2-edge-case Bug, but has workaround or limited in scope (priority)

Comments

@trtrtr6
Copy link

trtrtr6 commented Apr 30, 2022

Describe the bug

run yarn build
The contents of html style tags are not output correctly,Check the code and find that vite has a bug in handling underlined paths,It excludes underlined paths.
If the project name is underlined(for example: test_vue), there will be a bug

image
image

Reproduction

https://github.com/vitejs/vite/blob/main/packages/vite/src/node/plugins/html.ts

System Info

System:
    OS: macOS 10.15.5
    CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
    Memory: 18.14 MB / 8.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 16.15.0 - /usr/local/bin/node
    Yarn: 1.22.10 - /usr/local/bin/yarn
    npm: 8.5.5 - /usr/local/bin/npm
  Browsers:
    Chrome: 100.0.4896.127
    Safari: 13.1.1

Used Package Manager

yarn

Logs

No response

Validations

@sapphi-red sapphi-red added p2-edge-case Bug, but has workaround or limited in scope (priority) and removed pending triage labels Apr 30, 2022
@sapphi-red
Copy link
Member

Closing as it is fixed by #7974

@github-actions github-actions bot locked and limited conversation to collaborators May 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p2-edge-case Bug, but has workaround or limited in scope (priority)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants