Title: Control flow (@if etc) is not working when `preserveWhitespaces` is set to true in tsconfig · Issue #53114 · angular/angular · GitHub
Open Graph Title: Control flow (@if etc) is not working when `preserveWhitespaces` is set to true in tsconfig · Issue #53114 · angular/angular
X Title: Control flow (@if etc) is not working when `preserveWhitespaces` is set to true in tsconfig · Issue #53114 · angular/angular
Description: Which @angular/* package(s) are the source of the bug? common Is this a regression? Yes Description Control flow (@if etc) is not working when preserveWhitespaces is set to true in tsconfig As per the PR #52414, this seems like a breakin...
Open Graph Description: Which @angular/* package(s) are the source of the bug? common Is this a regression? Yes Description Control flow (@if etc) is not working when preserveWhitespaces is set to true in tsconfig As per ...
X Description: Which @angular/* package(s) are the source of the bug? common Is this a regression? Yes Description Control flow (@if etc) is not working when preserveWhitespaces is set to true in tsconfig As per ...
Opengraph URL: https://github.com/angular/angular/issues/53114
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Control flow (@if etc) is not working when `preserveWhitespaces` is set to true in tsconfig","articleBody":"### Which @angular/* package(s) are the source of the bug?\r\n\r\ncommon\r\n\r\n### Is this a regression?\r\n\r\nYes\r\n\r\n### Description\r\n\r\nControl flow (@if etc) is not working when [`preserveWhitespaces`](https://angular.io/guide/angular-compiler-options#preservewhitespaces) is set to true in tsconfig\r\n\r\nAs per the PR https://github.com/angular/angular/pull/52414, this seems like a breaking change.\r\n\r\nAre we going to add support for [`preserveWhitespaces`](https://angular.io/guide/angular-compiler-options#preservewhitespaces) or what's the future plan?\r\n\r\n### Please provide a link to a minimal reproduction of the bug\r\n\r\nhttps://stackblitz.com/edit/bjhzif?file=src%2Fexample%2Ftab-group-basic-example.html,tsconfig.json\r\n\r\n### Please provide the exception or error you saw\r\n\r\n```true\r\nContent projection is not working\r\n```\r\n\r\n\r\n### Please provide the environment you discovered this bug in (run `ng version`)\r\n\r\n```true\r\n_ _ ____ _ ___\r\n / \\ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|\r\n / △ \\ | '_ \\ / _` | | | | |/ _` | '__| | | | | | |\r\n / ___ \\| | | | (_| | |_| | | (_| | | | |___| |___ | |\r\n /_/ \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_| \\____|_____|___|\r\n |___/\r\n\r\n\r\nAngular CLI: 17.0.3\r\nNode: 18.18.2\r\nPackage Manager: npm 8.19.3\r\nOS: win32 x64\r\n\r\nAngular: 17.0.4\r\n... common, compiler, compiler-cli, core, elements, forms\r\n... localize, platform-browser, platform-browser-dynamic, router\r\n... upgrade\r\n\r\nPackage Version\r\n------------------------------------------------------------\r\n@angular-devkit/architect 0.1700.3\r\n@angular-devkit/build-angular 17.0.3\r\n@angular-devkit/core 17.0.3\r\n@angular-devkit/schematics 17.0.3\r\n@angular/animations 17.0.3\r\n@angular/cdk 17.0.1\r\n@angular/cli 17.0.3\r\n@angular/material 17.0.1\r\n@angular/material-moment-adapter 17.0.1\r\n@schematics/angular 17.0.3\r\nng-packagr 17.0.1\r\nrxjs 7.8.1\r\ntypescript 5.2.2\r\nwebpack 5.89.0\r\nzone.js 0.14.2\r\n```\r\n\r\n\r\n### Anything else?\r\n\r\n_No response_","author":{"url":"https://github.com/iKrishnaSahu","@type":"Person","name":"iKrishnaSahu"},"datePublished":"2023-11-22T12:23:00Z","url":"https://github.com/angular/angular/issues/53114"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:59b0225e-be6a-ced5-d0df-cea0bd84725b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A7E4:E9D16:66822F:81905F:6B0114FE |
| html-safe-nonce | 9b84cbb8761f3189ca6e74a0d280df49f97e255c71fe31c1092d970a4bf05291 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBN0U0OkU5RDE2OjY2ODIyRjo4MTkwNUY6NkIwMTE0RkUiLCJ2aXNpdG9yX2lkIjoiMzg3ODM5NzU2MDc2MjczMzgyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 82334a82a58f118124c569703d5ded737d4cfe29dac488beefabdc7747e4065f |
| hovercard-subject-tag | issue:2006228631 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/53114/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5d7a4ce566d153df83ba319a070366f8c225333ffb963c75e647467e29a1ca90/angular/angular/issues/53114 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5d7a4ce566d153df83ba319a070366f8c225333ffb963c75e647467e29a1ca90/angular/angular/issues/53114 |
| og:image:alt | Which @angular/* package(s) are the source of the bug? common Is this a regression? Yes Description Control flow (@if etc) is not working when preserveWhitespaces is set to true in tsconfig As per ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iKrishnaSahu |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width