From 7f92656e2f542547bfc647f50dfe91fd047a522a Mon Sep 17 00:00:00 2001 From: Juriy Zaytsev Date: Thu, 25 Feb 2010 17:08:45 -0500 Subject: [PATCH] Test `removeEmptyAttributes` on IMG element (should not remove "src" and "alt" attributes). --- tests/index.html | 3 +++ 1 file changed, 3 insertions(+) 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(){ -- 2.34.1