mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-28 02:54:45 +00:00
Transclude widget should use fallback content if variable is missing or blank
Fixes #7424
This commit is contained in:
@@ -51,7 +51,8 @@ MacroCallWidget.prototype.execute = function() {
|
||||
var positionalName = 0,
|
||||
parseTreeNodes = [{
|
||||
type: "transclude",
|
||||
isBlock: this.parseTreeNode.isBlock
|
||||
isBlock: this.parseTreeNode.isBlock,
|
||||
children: this.parseTreeNode.children
|
||||
}];
|
||||
$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],"$variable",this.macroName);
|
||||
$tw.utils.addAttributeToParseTreeNode(parseTreeNodes[0],"$type",this.parseType);
|
||||
|
||||
Reference in New Issue
Block a user