From 1291773737277d9bfe5a2bf5ec8d98ca50dd5bc8 Mon Sep 17 00:00:00 2001 From: Eemeli Aro Date: Mon, 21 Oct 2024 19:46:48 +0300 Subject: [PATCH] Define function composition for :string values (#798) * Define function composition for :string values * Update spec/registry.md as suggested by @stasm in #814 * Drop the "only" * Update text following code review comments --------- Co-authored-by: Addison Phillips --- spec/registry.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/spec/registry.md b/spec/registry.md index d2eaa7a8f..eb8fb6297 100644 --- a/spec/registry.md +++ b/spec/registry.md @@ -86,6 +86,14 @@ The `:string` function returns the string value of the _resolved value_ of the _ > Users SHOULD encode _messages_ and their parts in Unicode Normalization Form C (NFC) > unless there is a very good reason not to. +#### Composition + +When an _operand_ or an _option_ value uses a _variable_ annotated, +directly or indirectly, by a `:string` _function_, +its _resolved value_ contains the string value of the _operand_ of the annotated _expression_, +together with its resolved locale and directionality. +None of the _options_ set on the _expression_ are part of the _resolved value_. + ## Numeric Value Selection and Formatting ### The `:number` function