You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AngularJS has support for inline JSON, but html-minifier actually escapes inline JSON.
Please see Issue 98 for more information on this.
(kangax/html-minifier#98 (comment))
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. :)
The text was updated successfully, but these errors were encountered:
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.
(kangax/html-minifier#98 (comment))
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. :)
The text was updated successfully, but these errors were encountered: