fix(compiler): i18n - trim whitespace from i18n custom ids (#34154)
Fixes #34147 PR Close #34154
This commit is contained in:

committed by
Miško Hevery

parent
93ac362848
commit
64317c680d
@ -516,5 +516,5 @@ function _parseMessageMeta(i18n?: string): {meaning: string, description: string
|
||||
[meaningAndDesc.slice(0, descIndex), meaningAndDesc.slice(descIndex + 1)] :
|
||||
['', meaningAndDesc];
|
||||
|
||||
return {meaning, description, id};
|
||||
return {meaning, description, id: id.trim()};
|
||||
}
|
||||
|
Reference in New Issue
Block a user