mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-10-21 10:47:39 +00:00
Restrict variable substitutions to macros defined with the define pragma
Fixes #3333
This commit is contained in:
@@ -48,7 +48,7 @@ SetWidget.prototype.execute = function() {
|
||||
this.setValue = this.getAttribute("value");
|
||||
this.setEmptyValue = this.getAttribute("emptyValue");
|
||||
// Set context variable
|
||||
this.setVariable(this.setName,this.getValue(),this.parseTreeNode.params);
|
||||
this.setVariable(this.setName,this.getValue(),this.parseTreeNode.params,!!this.parseTreeNode.isMacroDefinition);
|
||||
// Construct the child widgets
|
||||
this.makeChildWidgets();
|
||||
};
|
||||
|
Reference in New Issue
Block a user