wilsonzlin/minify-html

Add an option to disable attribute deletion

monosans opened this issue · 0 comments

Removing attributes causes problems with CSS selectors.

For example: input[type=text] CSS selector stops working because minify-html removes the type attribute if it is equal to type.