Closed riddla closed 10 years ago
Hi, thank you for reporting... you are right: BOOLEAN_ATTR_PATTERN is mismatching.
I'm looking into this
Paolo
Same error happens for Batman.js too.
data-bind-disabled="submitting_form"
is stripped out as data-bind-disabled
only
Hi guys I finally fixed this issue and published version 1.1.2, sorry for the time it took. Let me know how is working for you.
Hi there.
I just noticed in an app that is using AngularJS, that
middleman-minify-html
(which relies on the htmlcompressor gem) strips some values:ng-disabled="compareDisabled"
is transformed tong-disabled
data-ng-disabled="compareDisabled"
is transformed todata-ng-disabled
Seems to me that the
simple_boolean_attributes
option, when activated, strips this valid e.g. non-boolean attributes. Maybe theBOOLEAN_ATTR_PATTERN
is mismatching?PS: Same applies probably to
ng-selected
,ng-checked
andng-readonly
.