1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-10-16 00:07:38 +00:00

Restrict variable substitutions to macros defined with the define pragma

Fixes #3333
This commit is contained in:
Jermolene
2018-06-15 08:31:02 +01:00
parent aba9c94f5a
commit 35cbb127a3
4 changed files with 13 additions and 6 deletions

View File

@@ -63,7 +63,8 @@ ImportVariablesWidget.prototype.execute = function(tiddlerList) {
addWidgetNode({
type: "set",
attributes: parseTreeNode.attributes,
params: parseTreeNode.params
params: parseTreeNode.params,
isMacroDefinition: parseTreeNode.isMacroDefinition
});
parseTreeNode = parseTreeNode.children[0];
}