Thanks a lot Saq and Eric, YES that was the problem, and using the tripled-quotes solved it immediately
P.S: I've using TW5 for almost a year now, and every day I know a new (and strange) thing about this AMAZING piece of software. Thanks to all contributions & Community On Monday, August 24, 2020 at 10:51:05 PM UTC+2 Eric Shulman wrote: > On Monday, August 24, 2020 at 1:41:42 PM UTC-7, Mohamed Amin wrote: >> >> ... I've a simple Macro to get all Tiddler by "status" : >> > \define getWithStatus(myStatus) >> <$list filter="[all[tiddlers]contains:status[$myStatus$]]" /> >> \end >> As expected, when I run the below macro command: >> <<getWithStatus [[This is OK]]>> >> > The output is OK... >> > BUT, my problem when I run the following : >> <<getWithStatus [[This is "Not" OK]]>> >> > I've tried both """_""", and '_' for the parameter :- >> > > The problem is how you quote the filter inside the macro. Use the > tripled-quotes like this: > \define getWithStatus(myStatus) > <$list filter="""[all[tiddlers]contains:status[$myStatus$]]""" /> > \end > > Then, the value of $myStatus$ can contain quotes without a problem. > > -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/fcd4a978-d5cc-4c2a-b6c4-1277ca22db16n%40googlegroups.com.

