I embed a large JS program that includes a line of code, for example:
doc.write("<script>var app = \"" + _2d() + "\";</script>");
Unfortunately, the browser (chrome) considers the script in the line to be the closing tag of the script and actually accepts everything after that as its HTML text.
How to include such a line and avoid it so that it doesnβt confuse HTML browser parsing?
Robin rodricks
source share