mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-24 02:27:19 +00:00
Fix typo in macro variable substitution
This commit is contained in:
parent
167116d416
commit
dc9c2522b9
@ -126,7 +126,7 @@ Widget.prototype.substituteVariableParameters = function(text,formalParams,actua
|
||||
Widget.prototype.substituteVariableReferences = function(text) {
|
||||
var self = this;
|
||||
return text.replace(/\$\(([^\)\$]+)\)\$/g,function(match,p1,offset,string) {
|
||||
return self.getVariable(p1,"");
|
||||
return self.getVariable(p1,null,"");
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user