You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let str = /*html*/`
<div> This is a div </div>
<script> console.log("This is script")</script>
`
I want to use the comment shortcuts in vs code to comment out the js within the script tags.
I would expect the comment command to add // to the line.
Instead it adds <!-- --> to the line.
The text was updated successfully, but these errors were encountered:
rishavs
changed the title
support correct comment blocks in script blocks
incorrect comment blocks in html script blocks
Mar 26, 2024
if I have a html string like this;
I want to use the comment shortcuts in vs code to comment out the js within the script tags.
I would expect the comment command to add
//
to the line.Instead it adds
<!-- -->
to the line.The text was updated successfully, but these errors were encountered: