<li>Parser trips over xml declarations (need to ignore or strip them)</li>
<li>Generate a report of all applied transformations</li>
<li>Warn about missing doctype (as part of linting process)</li>
+ <li>Warn about style attributes</li>
</ul>
</div>
<p class="quiet" style="font-style:italic;">
input = '<script>alert("foo bar") <\/script>';
output = '<script>alert("foo bar")<\/script>';
equals(minify(input, { collapseWhitespace: true }), output);
+
+ input = '<style>alert("foo bar") <\/style>';
+ output = '<style>alert("foo bar")<\/style>';
+ equals(minify(input, { collapseWhitespace: true }), output);
});
test('removing empty elements', function() {