diff options
author | pommicket <pommicket@gmail.com> | 2025-09-14 15:48:23 -0400 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2025-09-14 15:48:23 -0400 |
commit | 85a7900550eed23113aeda489de0d8491e420c76 (patch) | |
tree | 38b642468ab213b161647270b89ae4285294eda8 | |
parent | 82eeb6da9e4b25a57b30a6c0c66480121c34be35 (diff) |
Line feeds should also be stripped from list entries
-rw-r--r-- | site/spec.html | 2 | ||||
-rw-r--r-- | tests/interpretation/list.pom | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/site/spec.html b/site/spec.html index 6e14064..068d688 100644 --- a/site/spec.html +++ b/site/spec.html @@ -328,7 +328,7 @@ time = 35 min there is a recommended syntax for encoding them. Specifically, a value can be treated as a list by first splitting it into comma-delimited parts, treating <code>\,</code> as a literal comma in a list entry and <code>\\</code> as a literal backslash, - then removing any accepted-spaces surrounding list entries. + then removing any accepted-spaces and line feeds surrounding list entries. </p> <p> List entries may be empty, but if the last entry in a list is empty, it is removed diff --git a/tests/interpretation/list.pom b/tests/interpretation/list.pom index f02fa23..3c08157 100644 --- a/tests/interpretation/list.pom +++ b/tests/interpretation/list.pom @@ -9,7 +9,10 @@ empties.list = ,,, empties.sep = ;;; escapees.list = \\,\a,\, escapees.sep = \;\a;,; - +nls.list = "a, + b, + c" +nls.sep = a;b;c; empty.list = empty.sep = |