From 85a7900550eed23113aeda489de0d8491e420c76 Mon Sep 17 00:00:00 2001 From: pommicket Date: Sun, 14 Sep 2025 15:48:23 -0400 Subject: Line feeds should also be stripped from list entries --- site/spec.html | 2 +- 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 \, as a literal comma in a list entry and \\ as a literal backslash, - then removing any accepted-spaces surrounding list entries. + then removing any accepted-spaces and line feeds surrounding list entries.

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 = -- cgit v1.2.3