es6-string-html icon indicating copy to clipboard operation
es6-string-html copied to clipboard

incorrect comment blocks in html script blocks

Open rishavs opened this issue 1 year ago • 0 comments

if I have a html string like this;

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.

rishavs avatar Mar 26 '24 08:03 rishavs