vuejs / language-tools

⚡ High-performance Vue language tooling based-on Volar.js
https://marketplace.visualstudio.com/items?itemName=Vue.volar
MIT License
5.55k stars 373 forks source link

svg embedded in svg gets marked red #4447

Closed moritz-baecker-integra closed 1 week ago

moritz-baecker-integra commented 2 weeks ago

Current: image

Expected: image

Its not an error but it gets marked and it works in every major webbrowser. Any reason this is like it is?

KermanX commented 1 week ago

I think this is not a bug caused by Vue language-tools. This can also be seen in plain HTML:

The svg tag seems to be missing here: https://github.com/microsoft/vscode/blob/7a711a998683b26f7339fa83004d153ccf60f5a2/extensions/html/syntaxes/html.tmLanguage.json#L1453-L1457

moritz-baecker-integra commented 1 week ago

Not a problem of the language tools.

Im sorry