From 4e06c31022c39423041cfc38aa7de818ee23213f Mon Sep 17 00:00:00 2001 From: Robin Munn Date: Thu, 7 Dec 2023 15:34:07 +0700 Subject: [PATCH] Move list-join example onto single line (#7877) It's a little less readable this way, but avoids the whitespace issue. --- editions/prerelease/tiddlers/Release 5.3.2.tid | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/editions/prerelease/tiddlers/Release 5.3.2.tid b/editions/prerelease/tiddlers/Release 5.3.2.tid index e1194c06c..4c7bc8874 100644 --- a/editions/prerelease/tiddlers/Release 5.3.2.tid +++ b/editions/prerelease/tiddlers/Release 5.3.2.tid @@ -62,18 +62,13 @@ Note that the <<.attr "emptyMessage">> and <<.attr "template">> attributes take You can replace it with: ``` -<$list filter=<> variable="item" join=", "> -<$text text=<>/> - +<$list filter=<> variable="item" join=", "><$text text=<>/> ``` If the joiner text that you need is long and awkward to write in an attribute, you can use the new `<$list-join>` widget. Like `<$list-template>` and `<$list-empty>`, it must be an immediate child of the <<.wid "ListWidget">>: ``` -<$list filter=<> variable="item"> -<$text text=<>/> -<$list-join>, and also let's not forget - +<$list filter=<> variable="item"><$text text=<>/><$list-join>, and also let's not forget ``` !! jsonset operator