-
Notifications
You must be signed in to change notification settings - Fork 245
Open
Description
Hello, I was making html using javascript
At some point I put a closing body tag in a string:
<script>
const myHtml = `
...
</body>
...
`
console.log("hello world")
</script>
I was rather confused that everything after that closing body tag was now being directly shown as raw text in my browser, eventhough it was javascript code.
Commenting the string also did nothing to fix the problem.
(I mean like this)
// const myHtml = `
// ...
// </body>
// ...
// `In other words, breaks the live server parsing.
Originally posted by @troshujin in ritwickdey/vscode-live-server-plus-plus#108
Metadata
Metadata
Assignees
Labels
No labels