From: Juriy Zaytsev Date: Thu, 25 Feb 2010 22:08:45 +0000 (-0500) Subject: Test `removeEmptyAttributes` on IMG element (should not remove "src" and "alt" attrib... X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=7f92656e2f542547bfc647f50dfe91fd047a522a;p=html-minifier.git Test `removeEmptyAttributes` on IMG element (should not remove "src" and "alt" attributes). --- diff --git a/tests/index.html b/tests/index.html index 593936b..90c8f6c 100644 --- a/tests/index.html +++ b/tests/index.html @@ -160,6 +160,9 @@ input = ''; equals(minify(input, { removeEmptyAttributes: true }), ''); + + input = ''; + equals(minify(input, { removeEmptyAttributes: true }), ''); }); test('cleaning attributes', function(){