mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
a45e6b2b66
In https://github.com/angular/angular/pull/64745, a fix was introduced for templates referenced with a trailing semicolon. However, templates are still incorrectly removed when there are whitespace characters before the template name.
This commit updates the control flow migration logic to ensure templates referenced with preceding whitespace are not removed.
Fixes #64854
(cherry picked from commit 5b210e97af)