this is the normal behavior of macros - they act differently when used as 
parameter values to widget then when used alone.

When used alone the return values are 'wikified' but not when used as 
parameter values

hope this helps 

BJ

On Thursday, July 18, 2019 at 10:20:35 PM UTC+2, Sebastian Ovide wrote:
>
> Hello All
>
> I'm building by first widget. It accepts an attribute and it works. Now 
> I'm trying to create that attribute from a macro but the value from the 
> macro, even if displayed correctly, it is not converted into text inside 
> the attribute. 
>
> /define macro_good()
> 1,2,3,4,5,6
> /end
> /define macro_bad()
> 1,2,3,{{blabla!!blabla}},5,6
> /end
>
> <<macro_good>>
> <<macro_bad>>
>
> <$myWidget att=<<macro_good>>>
> <$myWidget att=<<macro_bad>>>
>
>
>
> <<macro_good>> and <<macro_bad>> display exactly the same result on the 
> tiddler but the attribute that <$myWidget att=<<macro_bad>>> gets is the 
> string "1,2,3,{{blabla!!blabla}},5,6" instead of "1,2,3,4,5,6"
>
> any ideas ?
>
> thanks
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev/bc795480-c45f-46ec-9252-30930c074314%40googlegroups.com.

Reply via email to