It's a known anomaly. List widget uses whatever is between <$list> and 
</$list> as a template. If there is nothing
(not even a space) then it uses it's own default template. But if there is 
even a single space, then it uses
"space" as the template.

The reason double-space works is because .... hmm ... legacy reasons, I 
think.

On Thursday, February 13, 2020 at 12:22:39 PM UTC-8, Jared Lettau wrote:
>
> Hi all,
>
> When spaces or single return char separate <$list...> from </$list>, no 
> results or emptyMessage are returned. The widget documentation 
> <https://tiddlywiki.com/#ListWidget:ListWidget> doesn't indicate that 
> this is expected behavior. Bug?
>
>
> See for examples: http://test7982374.tiddlyspot.com/#:[[List%20Bug%3F]]
>
>
> Example tiddler output: (in case the link ever dies)
>
> List Bug? 
> <http://test7982374.tiddlyspot.com/#> 13th February 2020 at 12:12pm 
>
>    1. No whitespace:
>    
>    <$list filter="[title[foo]]"></$list>
>    
>    foo <http://test7982374.tiddlyspot.com/#foo> 
>    
>    2. Single space (U+0020 : SPACE [SP]):
>    
>    <$list filter="[title[foo]]"> </$list>
>    
>    3. Two spaces (U+0020 : SPACE [SP]):
>    
>    <$list filter="[title[foo]]">  </$list>
>    
>    4. Character return:
>    
>    <$list filter="[title[foo]]">
>    </$list>
>    
>    5. Double space (2 returns):
>    
>    <$list filter="[title[foo]]">
>    
>    </$list>
>    
>    foo <http://test7982374.tiddlyspot.com/#foo>
>    
>    
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8e2a58d2-8212-48b1-8a97-0465066a557a%40googlegroups.com.

Reply via email to