On Friday, November 29, 2019 at 10:08:25 PM UTC-8, Atronoush wrote:
>
> Eric,
> What should I do if the tiddler name has space like "dat04 new"?
>
Use this revised definition for "getitems()":
\define getitems()
<$list filter="[tag[test]]">
<$text text="[["/>{{{ [<currentTiddler>getindex[ia]divide[1000]fixed[3]
removeprefix[0.]] }}};<<currentTiddler>><$text text="]]"/>
</$list>
\end
What it does is to enclose each generated title inside doubled
squarebrackets, which ensures that they are treated as single titles in all
subsequent filter handling
Thus, if your tiddlers are named
dat01
dat 02
dat 03 with more words
dat04
The generated list of items will be:
[[nn;dat01]] [[nn;dat 02]] [[nn;dat 03 with more words]] [[nn;dat04]]
The rest of the code remains the same.
enjoy,
-e
--
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/209d944a-7bd2-4a1b-92a8-3c05ff82c994%40googlegroups.com.