[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

[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 >>

[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

[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

[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 ...