runem / lit-analyzer

Monorepository for tools that analyze lit-html templates
MIT License
317 stars 36 forks source link

[bug] The ".svg" suffix inside of template literals in html attributes break the syntax highlighting for the following code #269

Open IcyFoxe opened 2 years ago

IcyFoxe commented 2 years ago

Hello, I've been facing this issue for a while now and I'm wondering if it could get fixed.

Basically whenever you use the ".svg" suffix inside of template literals in html attributes, it will break the following syntax highlighting.

Here's a preview of it happening:

image

And now if I change the ".svg" string to anything elese, it will work as intended:

image