10000 Text consistency (#1037) · unicode-org/message-format-wg@ac3d8d6 · GitHub
[go: up one dir, main page]

Skip to content

Commit ac3d8d6

Browse files
macchiatiaphillips
andauthored
Text consistency (#1037)
* text consistency * Update spec/syntax.md Co-authored-by: Addison Phillips <addison@unicode.org> * Update spec/syntax.md --------- Co-authored-by: Addison Phillips <addison@unicode.org>
1 parent 134446c commit ac3d8d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spec/syntax.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -920,14 +920,15 @@ and inside _patterns_ only escape `{` and `}`.
920920

921921
#### Whitespace
922922

923-
The syntax limits whitespace characters outside of a _pattern_ to the following:
923+
Outside of the _text_ parts of _patterns_ and outside of _quoted literals_
924+
the syntax limits whitespace characters to the following:
924925
`U+0009 CHARACTER TABULATION` (tab),
925926
`U+000A LINE FEED` (new line),
926927
`U+000D CARRIAGE RETURN`,
927928
`U+3000 IDEOGRAPHIC SPACE`,
928929
or `U+0020 SPACE`.
929930

930-
Inside _patterns_ and _quoted literals_,
931+
In the _text_ parts of _patterns_ and in _quoted literals_,
931932
whitespace is part of the content and is recorded and stored verbatim.
932933
Whitespace is not significant outside translatable text, except where required by the syntax.
933934

0 commit comments

Comments
 (0)
0