Transcluded functions should operate on the entire store

This commit is contained in:
jeremy@jermolene.com 2022-09-03 20:11:45 +01:00
parent a439cb58be
commit 11e0c66a4c
1 changed files with 1 additions and 1 deletions

View File

@ -223,7 +223,7 @@ TranscludeWidget.prototype.getTransclusionTarget = function() {
variables[name] = param["default"];
}
});
var result = this.wiki.filterTiddlers(srcVariable.value,this.makeFakeWidgetWithVariables(variables),this.wiki.makeTiddlerIterator([])).join("");
var result = this.wiki.filterTiddlers(srcVariable.value,this.makeFakeWidgetWithVariables(variables)).join("");
parser = this.wiki.parseText(this.transcludeType,result || "",{parseAsInline: parseAsInline, configTrimWhiteSpace: srcVariable.configTrimWhiteSpace});
} else {
// For macros and ordinary variables, wrap the parse tree in a vars widget assigning the parameters to variables named "__paramname__"