Open
Description
It deletes HTML code from string templates.
Steps to reproduce:
Create a new Javascript Kumite using Node v8.1.3 and write the following code:
const jsdom = require("jsdom");
const { JSDOM } = jsdom;
const dom = new JSDOM(`<!DOCTYPE html>
<html>
<body>
<p>Hello world</p>
</body>
<script src="http://cdn.bootcss.com/jquery/2.1.1/jquery.min.js"></script>
<script>
// Use jQuery here.
</script>
</html>
`);Then press the "TDD Mode" Buttonand watch how code disappears.And as a complimentary bug, replace the mutilated code with the full code and press again the same button to see how it disappears once more.