Mat,

That is a good point, I will just add the alternative is to not use double 
quotes in any tiddler title, only use single quotes then "value" "filter" 
is sufficient.

Without going into the details now, we can use Unicode characters that look 
like quotes as well, but do not delimit like them eg “ 

Regards
Tones

On Thursday, 8 July 2021 at 23:54:33 UTC+10 Mat wrote:

> yeah, Eric is right. A small addition is that filters should generally be 
> enclosed in *triple* quotes because if any of the filtered out items has 
> quotes in it, then this can *conflict* with the enclosing filter quotes. 
> So, get into the habit of writing filter="""..."""
>
> To see the problem, you can test to create a new tiddler titled  This is 
> a "new" tiddler  and tag it with  About
>
> <:-)
> On Thursday, July 8, 2021 at 12:37:00 PM UTC+2 Eric Shulman wrote:
>
>> On Thursday, July 8, 2021 at 2:36:55 AM UTC-7 [email protected] wrote:
>>
>>> I'm trying to figure out how it works, simplified the example, and it 
>>> doesn't do anything. Does it not fit in newer versions?
>>> <$set name="myVar" filter='[tags[About]]'>
>>> <$list filter='<myVar>'></$list>
>>> </$set>
>>>
>>
>> * The *[tags[]]* filter operator doesn't accept a operand value.  You 
>> want to use *[tag[About]]* to match tiddlers with the "About" tag.
>> * When using a *variable as a parameter value* (in the $list widget),  
>> do not enclose it in quotes, and use doubled angle brackets
>> * The $list widget needs some syntax inside it to indicate what to output
>>
>> Here's a corrected version of your example code:
>> <$set name="myVar" filter="[tag[About]]">
>> <$list filter=<<myVar>>><$link/><br></$list>
>> </$set>
>>
>> -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/c712c5de-3663-43a5-a9b6-dd531997cc83n%40googlegroups.com.

Reply via email to