-
Notifications
You must be signed in to change notification settings - Fork 26.2k
Optimize whitespace in template by default (preserveWhitespace to false by default) #22027
New issue
Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “No 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? No Sign in to your account
Comments
Hey, Issue #21049 list a number of complains where this is change causes problems |
|
Hello, @IgorMinar why it doesn't work for |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
In #18401 we implemented
preserveWhitespace
compiler flag to fix #11679.Initially we made this an opt-in because of a possibility of subtle breaking changes related to applying styles to DOM with whitespace suddenly stripped from most nodes.
Now that we verified that the negative impact of this change at Google has been minimal, we should go ahead and make
https://github.com/angular/angular/issues/11679
option set to false by default.The text was updated successfully, but these errors were encountered: