@@ -16,7 +16,8 @@ The formatting of a _message_ is defined by the following operations:
1616 For a message with no _ selectors_ , this is simple as there is only one _ pattern_ .
1717 With _ selectors_ , this will depend on their resolution.
1818
19- - ** _ <dfn >Formatting</dfn >_ ** takes the _ resolved values_ of the selected _ pattern_ ,
19+ - ** _ <dfn >Formatting</dfn >_ ** takes the _ resolved values_ of
20+ the _ text_ and _ placeholder_ parts of the selected _ pattern_ ,
2021 and produces the formatted result for the _ message_ .
2122 Depending on the implementation, this result could be a single concatenated string,
2223 an array of objects, an attributed string, or some other locally appropriate data type.
@@ -272,7 +273,7 @@ the following steps are taken:
272273
273274 The form that resolved _operand_ and _option_ values take is implementation-defined.
274275
275- An implementation MAY pass additional arguments to the function ,
276+ An implementation MAY pass additional arguments to the _function handler_ ,
276277 as long as reasonable precautions are taken to keep the function interface
277278 simple and minimal, and avoid introducing potential security vulnerabilities.
278279
@@ -286,16 +287,16 @@ the following steps are taken:
286287 additional detail about internal failures.
287288 Specifically, if the cause of the failure was that the datatype, value, or format of the
288289 _operand_ did not match that expected by the _function_,
289- the _function_ might cause a _Bad Operand_ error to be emitted.
290+ the _function_ SHOULD cause a _Bad Operand_ error to be emitted.
290291
291292 In all failure cases, use the _fallback value_ for the _expression_ as its _resolved value_.
292293
293294#### Function Handler
294295
295- To resolve a _function_,
296- a **_<dfn>function handler</dfn>_** is required.
297- This is an implementation-defined process such as a function or method
296+ A **_<dfn>function handler</dfn>_** is an implementation-defined process
297+ such as a function or method
298298which accepts a set of arguments and returns a _resolved value_.
299+ A _function handler_ is required to resolve a _function_.
299300
300301An implementation MAY define its own functions and their handlers.
301302An implementation MAY allow custom functions to be defined by users.
0 commit comments