kongji2008 / htmlcompressor

Automatically exported from code.google.com/p/htmlcompressor
Apache License 2.0
0 stars 1 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