ericclemmons / grunt-angular-templates

Grunt build task to concatenate & pre-load your AngularJS templates
MIT License
710 stars 107 forks source link

removeRedundantAttribues removes type=text from input field #118

Closed ghost closed 9 years ago

ghost commented 9 years ago

Relating to this closed issue I am experiencing also that the attribute removeRedundantAttribues removes type=text.

This is my HTML:

<input type="text" ng-model="obj.title" name="title" id="title" placeholder="My Placeholder" ng-minlength="5" required="" class="ng-pristine ng-untouched ng-invalid ng-invalid-required ng-valid-minlength">

As said the output lacks type=text. When I toggle removeRedundantAttributes all works fine.

ghost commented 9 years ago

Sorry, wrong issue. This relates to html-minifier