mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
6b1a47183d
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
Tests in this directory are excluded from running in the browser and only run in node.