Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with default htmlmin options in ngtemplates section of Gruntfile #797

Closed
brandon-arnold opened this issue Jan 25, 2015 · 0 comments

Comments

@brandon-arnold
Copy link

Hi all,

My dist/ application was behaving erratically because its HTML templates were being messed up. The htmlmin phase of the ngTemplates task was removing all type="text" attributes from input boxes. I tracked it down to the removeScriptTypeAttributes option, which is incorrectly removing type attributes from non-script tags as well.

It seems that the creator of grunt-angular-templates has himself already committed to removing the htmlmin phase completely. I recommend disabling most or all of its features.

-Brandon

@Awk34 Awk34 closed this as completed Oct 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants