It appears only the first </script> (closing script) tag is unescaped in html files using playground-ide
jvoccia opened this issue · 1 comments
jvoccia commented
When I have a sandbox with code like the following:
https://codesandbox.io/s/naughty-kalam-i5e6h?file=/src/index.js
<playground-ide editable-file-system line-numbers resizable>
<script type="sample/html" filename="index.html"><!doctype html>
<html>
<head>
<script src="script1.js"></script>
<script src="script2.js"></script>
</head>
<body>
<script src="./script3.js"></script>
</body>
</html></script>
</playground-ide>
The resulting HTML in the IDE looks like:
<!doctype html>
<html>
<head>
<script src="script1.js"></script>
<script src="script2.js"></script>
</head>
<body>
<script src="./script3.js"></script>
</body>
</html>
Only the first script tag is "unescaped" the rest remain with </script>
AndrewJakubowicz commented
Thank you for this report! Should be fixed by #260