mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
fix(compiler): prevent usage of reserved control flow symbol in custom interpolation context. (#55809)
* Fixes the issue where using a reserved control flow @ symbol in a custom interpolation context yields improper parser feedback. PR Close #55809
This commit is contained in:
parent
20a530acb6
commit
2bb12ac02f
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@
|
|||
*/
|
||||
|
||||
const UNUSABLE_INTERPOLATION_REGEXPS = [
|
||||
/@/, // control flow reserved symbol
|
||||
/^\s*$/, // empty
|
||||
/[<>]/, // html tag
|
||||
/^[{}]$/, // i18n expansion
|
||||
|
|
|
|||
Loading…
Reference in a new issue