http://trac.tiddlywiki.org/changeset/11296

MartinBudden
2009-12-07 03:08:45 -0800 (Mon, 07 Dec 2009)
59
Ticket #1035

evaluated macro parameters are computed twice

---------------

U   Trunk/core/js/main.js

---------------

Modified: Trunk/core/js/main.js
===================================================================
--- Trunk/core/js/main.js       2009-12-04 18:41:03 UTC (rev 11295)
+++ Trunk/core/js/main.js       2009-12-07 11:08:45 UTC (rev 11296)
@@ -230,7 +230,7 @@
                        //# Provide context for evaluated macro parameters (eg 
<<myMacro {{tiddler.title}}>>)
                        window.tiddler = tiddlerElem ? 
store.getTiddler(tiddlerElem.getAttribute("tiddler")) : null;
                        window.place = place;
-                       
m.handler(place,macro,params.readMacroParams(),wikifier,params,tiddler);
+                       
m.handler(place,macro,m.noPreParse?null:params.readMacroParams(),wikifier,params,tiddler);
                } else {
                        
createTiddlyError(place,config.messages.macroError.format([macro]),config.messages.macroErrorDetails.format([macro,config.messages.missingMacro]));
                }

--

You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" 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/tiddlywikidev?hl=en.


Reply via email to