[tw5] Re: ListWidget Bug?

2020-02-13 Thread Mat
Mark S. wrote:
>
> That explains formatting. It doesn't explain why double line feeds use the 
> default template. I think that goes back to legacy.
>

There is some very old issue about formatting when transcluding, causing 
things to end up as inline when one wants block. (Maybe someone can phrase 
this better, I'm unsure how to describe it precisely). Is the double line 
feed not required for block to show - and, if I recall, Jeremy is not quite 
sure of why? (I quite possibly don't remember this correctly.)

<:-)

P.S ...why the hey is there a "1." at the bottom of my posts in this 
thread I can't delete it in the google groups editor!?

>
1. 




-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/c5b8f975-d960-4595-8543-ebe331f9e9e9%40googlegroups.com.


[tw5] Re: ListWidget Bug?

2020-02-13 Thread 'Mark S.' via TiddlyWiki
That explains formatting. It doesn't explain why double line feeds use the 
default template. I think that goes back to legacy.

On Thursday, February 13, 2020 at 2:33:05 PM UTC-8, Mat wrote:
>
> Mark S. wrote:
>>
>> The reason double-space works is because  hmm ... legacy reasons, I 
>> think.
>>
>
> There's also a practical reason: No space outputs something styled as 
> "display:inline" whereas double space outputs "display:block". For example 
> no space would give output
>
> aaabbbccc
>
> and double space
>
> aaa
> bbb
> ccc
>
> <:-)
>
>>
>>>1. 
>>>
>>>
>>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/06defc26-4f55-473b-9e28-2a3e3c3075fc%40googlegroups.com.


[tw5] Re: ListWidget Bug?

2020-02-13 Thread Mat
Mark S. wrote:
>
> The reason double-space works is because  hmm ... legacy reasons, I 
> think.
>

There's also a practical reason: No space outputs something styled as 
"display:inline" whereas double space outputs "display:block". For example 
no space would give output

aaabbbccc

and double space

aaa
bbb
ccc

<:-)

>
>>1. 
>>
>>
>>

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9848da62-c1a2-49a5-a411-9fa9dbdce456%40googlegroups.com.


[tw5] Re: ListWidget Bug?

2020-02-13 Thread TonyM
Jarard,

So something you can take from Marks point is you can make your own 
template which handles this however you wish (within limits).

use the template=tiddler  parameter on the list widget

For inspiration look at the one that is (most likey) used by 
default $:/core/ui/ListItemTemplate

<$link to={{!!title}}>
<$view field="title"/>


and make your own.

Also,

How were you inserting your special characters?

Did you try the html method described 
here https://tiddlywiki.com/#decodehtml%20Operator 
 

Regards
Tony



On Friday, February 14, 2020 at 7:22:39 AM UTC+11, Jared Lettau wrote:
>
> Hi all,
>
> When spaces or single return char separate <$list...> from , no 
> results or emptyMessage are returned. The widget documentation 
>  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? 
>  13th February 2020 at 12:12pm 
>
>1. No whitespace:
>
><$list filter="[title[foo]]">
>
>foo  
>
>2. Single space (U+0020 : SPACE [SP]):
>
><$list filter="[title[foo]]"> 
>
>3. Two spaces (U+0020 : SPACE [SP]):
>
><$list filter="[title[foo]]">  
>
>4. Character return:
>
><$list filter="[title[foo]]">
>
>
>5. Double space (2 returns):
>
><$list filter="[title[foo]]">
>
>
>
>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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/548062c0-5c49-4409-a229-82fcc00f8070%40googlegroups.com.


[tw5] Re: ListWidget Bug?

2020-02-13 Thread 'Mark S.' via TiddlyWiki
It's a known anomaly. List widget uses whatever is between <$list> and 
 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 , no 
> results or emptyMessage are returned. The widget documentation 
>  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? 
>  13th February 2020 at 12:12pm 
>
>1. No whitespace:
>
><$list filter="[title[foo]]">
>
>foo  
>
>2. Single space (U+0020 : SPACE [SP]):
>
><$list filter="[title[foo]]"> 
>
>3. Two spaces (U+0020 : SPACE [SP]):
>
><$list filter="[title[foo]]">  
>
>4. Character return:
>
><$list filter="[title[foo]]">
>
>
>5. Double space (2 returns):
>
><$list filter="[title[foo]]">
>
>
>
>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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/8e2a58d2-8212-48b1-8a97-0465066a557a%40googlegroups.com.