htmlcompressor icon indicating copy to clipboard operation
htmlcompressor copied to clipboard

greedy simple attributes remove content for all attributes ending in "disabled" such as ng-disabled

Open GoogleCodeExporter opened this issue 10 years ago • 0 comments

What steps will reproduce the problem?
Try to compress <input id="id2" ng-disabled="compareDisabled"/>


What is the expected output? What do you see instead?
expected
<input id="id2" ng-disabled="compareDisabled"/>
actual
<input id="id2" ng-disabled/>

Original issue reported on code.google.com by [email protected] on 4 Sep 2014 at 2:38

GoogleCodeExporter avatar Nov 27 '15 21:11 GoogleCodeExporter