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

Syntax Highlighting Error in SVG #4992

Open
grassfish1122 opened this issue Nov 7, 2024 · 0 comments
Open

Syntax Highlighting Error in SVG #4992

grassfish1122 opened this issue Nov 7, 2024 · 0 comments
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first 🍰 p2-nice-to-have

Comments

@grassfish1122
Copy link

Vue - Official extension or vue-tsc version

v2.1.10

VSCode version

1.95.1

Vue version

any

TypeScript version

No TypeScript used

System Info

No response

package.json dependencies

No response

Steps to reproduce

When I copy-paste SVG code from an MDN examplesvg-foreignObject,
I notice that Vue syntax highlighting is incorrect.
image

However, when I switch to the Vetur extension or use WebStorm, the highlighting appears correctly.
This issue only occurs with Vue Official.
image

↓ Vetur works correctly
image

What is expected?

Correct syntax highlighting

What is actually happening?

Incorrect syntax highlighting

Link to minimal reproduction

No response

Any additional comments?

No response

@KazariEX KazariEX added bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first 🍰 p2-nice-to-have and removed pending triage labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good reproduction ✨ This issue provides a good reproduction, we will be able to investigate it first 🍰 p2-nice-to-have
Projects
None yet
Development

No branches or pull requests

2 participants