Hi Roma
You need to enclose the filter string in double (or single) quotes:
<$list filter="[is[current]field:foo[My Tiddler]]">
// Code
</$list>
Best wishes
Jeremy
On Thu, Aug 7, 2014 at 2:35 AM, Roma Hicks <[email protected]> wrote:
> I am attempting to create a ViewTemplate that when a field matches a
> string it renders the enclosed widgets/text/etc. Can this be done with a
> field if the value contains white space?
>
> Tiddler with $:/tags/ViewTemplate
> <$list filter=[is[current]field:foo[My Tiddler]]>
> // Code
> </$list>
>
> Instead of *My Tiddler* being the only tiddler affected, all tiddlers are
> affected.
>
> I have tried escaping the space characters.
> I have tried tried quoting, that just make the parser render it as plain
> text.
>
> Is there a way to use a string with white space as an operand?
>
> --
> 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 post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywiki.
> For more options, visit https://groups.google.com/d/optout.
>
--
Jeremy Ruston
mailto:[email protected]
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.