Jeremy,
 I tested your solution and it works, BUT, this is true if utility macro 
itself contains wikitext like example above.
If utility itself call other macro or have some scripts, then it will fail, 
look at the below case


\define mac2(p) {{{ [<__p__>split[]addprefix[c]] }}}
\define utility(a, b) 
This is //$a$//  and ''$b$''.
<$macrocall $name="mac2" p=<<__a__>> />
\end


\define test(a,b)
<$set name="newText" value=<<utility a:"""$a$""" b:"""$b$""">>>
<$text text=<<newText>> />
</$set>
\end


<<test italic bold>>


The output is:

This is //italic// and ''bold''. <$macrocall $name="mac2" p=<<__a__>> />


While I expect;

This is //italic// and ''bold''. cictcaclcicc


--Mohammad

-- 
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 tiddlywiki+unsubscr...@googlegroups.com.
To post to this group, send email to tiddlywiki@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/9f64d44a-d010-4e4e-9538-0450fd14a748%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to