Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(localize): declare preserve whitespace in XLIFF files
Whitespace can be relevant in extracted XLIFF translation files and some i18n tools - e.g. CAT tool (OmegaT) - will reformat the file to collapse whitespace if the is no indication to tell it not to. This commit adds the `xml:space="preserve"` attribute to the rendered `<source>` element to indicate that the whitespace in the source messages should be kept. Fixes #38679
- Loading branch information
1 parent
c90eb54
commit f0cd233
Showing
4 changed files
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters