This will do what you want:

<$vars foo=bar>
<$vars my1={{!!myfield}}>
<$wikify text={{!!myfield}} name=my2>
{{!!myfield}}, is it prefixed "b"? {{{ [<my2>prefix[b]then[YES!]] }}}
</$wikify>
</$vars>
</$vars>

This will work whether myfield contains <<foo>> or "boo!".



On Saturday, July 18, 2020 at 11:28:43 AM UTC-7, Mat wrote:
>
> myfield: <<foo>>
> text:
> <$vars foo=bar>
> {{!!myfield}}, is it prefixed "b"? {{{ [{!!myfield}prefix[b]then[YES!]] 
> }}}
> </$vars>
>
> This gives result:
>
> bar, is it prefixed "b"?
>
> I was expecting 
>
> bar, is it prefixed "b"? YES!
>
> How can I make it work? It seems the field-invocation is evaluated when 
> inside a filter but at that state its value (i.e <<foo>>) has no value - ?
>
> Thanks!
>
> <:-)
>

-- 
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/d1b9dbe5-7ccc-48c0-9773-978cb67fbd39o%40googlegroups.com.

Reply via email to