mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-02 17:00:45 +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) {
|
Widget.prototype.substituteVariableReferences = function(text) {
|
||||||
var self = this;
|
var self = this;
|
||||||
return text.replace(/\$\(([^\)\$]+)\)\$/g,function(match,p1,offset,string) {
|
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