serg472 / htmlcompressor

HTML Compressor and Minifier, can be used standalone and as a Java library
Apache License 2.0
40 stars 14 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 chiod...@gmail.com on 4 Sep 2014 at 2:38