ericclemmons / ericclemmons/grunt-angular-templates
HTMLmin is not fully compatible with Angular
- Dominant language
- JavaScript
- Stars
- 705
- Forks
- 107
- PR merge metrics
- No merged PRs in 30d
Description
Hi
I'm just letting you know that html-minifier (https://github.com/kangax/html-minifier/), which is used by grunt-usemin is not fully compatible with AngularJS.
AngularJS has support for inline JSON, but html-minifier actually escapes inline JSON.
Please see Issue 98 for more information on this.
(https://github.com/kangax/html-minifier/issues/98#issuecomment-33257867)
A way to work around this is simply by not using the htmlmin option in the ngTemplates grunt task. As of now, there is no option to configure this.
You might want to document this behaviour. :)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.