swc/crates/swc_html_minifier/tests/fixture/text/collapse-whitespace-conservative/output.min.html

29 lines
1.7 KiB
HTML
Raw Normal View History

<!doctype html><html lang=en><title>Document</title><body> <div> test </div> <div> <p>blah</p> </div> <div><p>blah</div> <div>foo <a>baz</a> bar</div> <div>foo<a>baz</a>bar</div> <div>foo <a>baz</a>bar</div> <div>foo<a>baz</a> bar</div> <div>foo <a> baz </a> bar</div> <div>foo<a> baz </a>bar</div> <div>foo <a> baz </a> bar</div> <div>foo<a> baz </a> bar</div> <div>Foo Bar</div> <div> Foo Bar </div> <p> The quick brown fox jumps over the lazy dog. </p> <ul> <li>A</li> <li>B</li> <li>C</li> </ul> <p> Hey, I <em>just</em> found out about this <strong>cool</strong> website! <sup>[1]</sup> </p> <pre>
Text
<code>
Text
</code>
<unknown-unknown>
Text
</unknown-unknown>
</pre> <div>foo bar</div> <textarea>
Foo
</textarea> <div> <div>Text</div> </div> <unknown> <div>Text</div> </unknown> <div> </div> <svg version=1.1 viewBox="0 0 100 100" preserveAspectRatio="xMidYMid slice" style=width:100%;height:100%;position:absolute;top:0;left:0;z-index:-1><linearGradient id=gradient><stop class=begin offset=0% /><stop class=end offset=100% /></linearGradient><rect x=0 y=0 width=100 height=100 style=fill:url(#gradient) /><circle cx=50 cy=50 r=30 style=fill:url(#gradient) /></svg> <svg viewBox="0 0 100 100"><a href=/docs/Web/SVG/Element/circle> <circle cx=50 cy=40 r=35 /> </a><a href=/docs/Web/SVG/Element/text> <text x=50 y=90 text-anchor=middle>&lt;circle></text> </a></svg> <script></script> <script>console.log("test")</script> <xmp>
test
</xmp> <div> foo <a> baz </a> bar foo <a> baz </a> bar foo <a> baz </a> bar </div> <div> foo <a> baz </a> bar foo <a> baz </a> bar foo <a> baz </a> bar </div> <div> foo <img src=https://prettier.io/icon.png> </div>