html-minifier icon indicating copy to clipboard operation
html-minifier copied to clipboard

Remove unwanted element attributes by name

Open HitkoDev opened this issue 8 years ago • 2 comments

Add an option to blacklist attributes by matching them against an array of values or regular expressions. Closes #322.

HitkoDev avatar Jul 04 '16 12:07 HitkoDev

@kangax did you have any chance to review it?

I also have some cases when I ned to remove some attributes (for example data-test="xxx").

mdreizin avatar Sep 23 '16 19:09 mdreizin

Any idea when this feature might get released? It would be a great additional feature which would allow us to remove redundant data-react-* attributes from our markup.

CedarDCX avatar Dec 20 '16 16:12 CedarDCX