mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
Since i18n messages are mapped to `$localize` tagged template strings, the "raw" version must be properly escaped. Otherwise TS will throw an error such as: ``` Error: Debug Failure. False expression: Expected argument 'text' to be the normalized (i.e. 'cooked') version of argument 'rawText'. ``` This commit ensures that we properly escape these raw strings before creating TS AST nodes from them. PR Close #33820 |
||
|---|---|---|
| .. | ||
| binding_spec.ts | ||
| i18n_spec.ts | ||
| util.ts | ||