Live Server VSCode extension trips up on literal with end body and end html tags in source code
Live Server VSCode extension trips up on "</body></html>" string literal in source code and inserts its JS code right after end > of end html tag in string literal. Looks like it gets confused with this literal string and presumes that the html file end has been encountered.
I had to use the following workaround in the BloggerFeedToBook program:
...
// Below split is to workaround Live Server VSCode extension tripping up and inserting its JavaScript
// code just after end html tag in string literal thereby making handleSaveClick() an unrecognized
// (or something like that) function.
"</bo" +
"dy>" +
"</ht" +
"ml>";
Comments
Post a Comment