swc/crates/swc_html_minifier/tests/fixture/comment/preserve-comments/output.min.html

22 lines
683 B
HTML

<!doctype html><html lang=en><meta charset=UTF-8><meta name=viewport content="width=device-width,user-scalable=no,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0"><meta http-equiv=X-UA-Compatible content="ie=edge"><title>Document</title><link href=non-ie.css rel=stylesheet><body>
<p>This is a paragraph.</p>
<div>baz</div>
<script><!-- alert(1) --></script>
<script><!--
alert(1);
--></script>
<style>p{color:red}</style>
<script>/*<![CDATA[*/alert(8)/*]]>*/</script>
<script> /*
<![CDATA[ */
alert(10)
/* ]]> */
</script>
<!--! test -->
<!-- ko if: someExpressionGoesHere --><li>test</li><!-- /ko -->