> I have a case where %0 is been replaced with the Current tiddler name
> when I don't want it to be;
...
> <newTiddler ... text:{{store.getTiddlerText(".newTaskContent")}} ...>>
>
> where tiddler .newTaskContent
>
> contains
> <<wikify "%0" "l...@here">>
>
> %0 is replaced with the title "Work Task";
>
> <<wikify "Work Task" "l...@here">>
>
> Is the newtiddler macro doing the wikification ?

hey!  That's an old core bug that I found a long time ago....

Here's the problem: the core's <<newTiddler>> handler is automatically
replacing the %0 "substitution marker" with the current tiddler
title.  This was *originally* done in order to insert the title into
the default tiddler content, i.e., "Type the text for 'NewTiddler'".
However, as you noticed, this processing also makes it impossible to
embed %0 (or any other "%n" marker) in the text:"..." parameter of
<<newTiddler>>.

Fortunately, the core code is *currently* using a different method to
construct the default content -- one that no longer relies upon
replacing the %0 with the title -- so it should be relatively easy to
remove this obsolete substitution processing in order to allow the %0
through %9 markers to be inserted into new tiddler content without
being mangled in the process.

I thought I'd already opened a ticket and submitted a patch, but I
guess I didn't... hmm...

-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to