paolochiodi / htmlcompressor

A work in progress port of google's htmlcompressor.jar
Other
152 stars 26 forks source link

:simple_boolean_attributes and ng-disabled #16

Closed vvasabi closed 10 years ago

vvasabi commented 10 years ago

When :simple_boolean_attributes is set to true, ng-disabled attribute would be screwed up. For example, consider this code:

<button ng-disabled="bar()">Foo</button>

After compression, it becomes:

<button ng-disabled"bar()">Foo</button>

Thanks.

paolochiodi commented 10 years ago

Hi, thank you for reporting. I had a candidate fix for #12, I'll finalize and publish in the next days.

vvasabi commented 10 years ago

@paolochiodi Thanks for replying. Not sure how I missed #12 when I was trying to see if a similar issue was already created. I am closing this now since this is a duplicate.

paolochiodi commented 10 years ago

@vvasabi as you can see in #12 I finally resolved the problem and published a new version. Let me know if everything is ok.

vvasabi commented 10 years ago

:+1: Works now, thanks so much!

paolochiodi commented 10 years ago

@vvasabi good to hear :)