> out.push("This tiddler own: <<tiddler percentLinkAlpha with:
> [["+tids[i].title+"]]>> of [["+tids[i].title+"]]");
> Can this be made to work? How do stop the right chevrons (>>) I've
> added from executing the code prematurely?
As you've noted, the occurrence of ">>" within the code interferes
with the overall <<tiddler>> macro processing. Fortunately, because
the ">>" is contained within a javascript string, you can avoid the
problem simply by putting a "\" in between the two characters (e.g., ">
\>", like this:
out.push("This tiddler own: <<tiddler percentLinkAlpha with: [["+tids
[i].title+"]]>\> of [["+tids[i].title+"]]");
Note: a similar problem arises if you attempt to use the 'close CSS
wrapper" sequence ("}}}") within the code, as this interferes with the
closing '}}' of the 'eval param' syntax. The same kind of work-around
can be used in this case as well: "}\}\}"
-e
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---