mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
It is possible for HTML formatters to add whitespace around the content of `i18n` attribute values. This can make the meaning and custom ids brittle to simple whitespace formatting. This commit ensures that the metadata string extracted from HTML `i18n` attributes is trimmed before being parsed into meaning, description and custom id. PR Close #34154 |
||
|---|---|---|
| .. | ||
| binding_spec.ts | ||
| i18n_spec.ts | ||
| util.ts | ||