-
Notifications
You must be signed in to change notification settings - Fork 96
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
HTML comments inside svelte markup cause a distortion of the tag <script> #154
Comments
I can't reproduce this... what does your |
|
Sorry, I wrote before thinking :P Unfortunately, I can't reproduce it even with that |
I cannot reproduce this either. Do you have any other extensions installed that might mess with Svelte files? What if you disable all extensions except "Svelte for VS Code"? |
@dummdidumm I disable all extensions except Svelte for VS Code (see gif above). |
No wonder we cannot reproduce this anymore - this was fixed as part of #152 😄 So this should be good after the next release. |
This is great. Thank you! |
@dummdidumm |
Is |
@dummdidumm Sorry, I forgot to update the plugin. Everything works great. Thank you! |
If you add any html comment (for example:
<!--SomeComment-->
) before the closing</ul>
tag insrc/routes/blog/index.svelte
in this project, thescript
tag will be distorted. Here is an example:VSCode 1.50.0
Svelte for VS Code: v102.1.1
Prettier - Code formatter: v5.7.1
my settings.json:
The text was updated successfully, but these errors were encountered: