diff --git a/core/modules/widgets/transclude.js b/core/modules/widgets/transclude.js index 662665202..9b4c32c15 100755 --- a/core/modules/widgets/transclude.js +++ b/core/modules/widgets/transclude.js @@ -220,7 +220,7 @@ TranscludeWidget.prototype.getTransclusionTarget = function() { } else if(self.hasAttribute(index + "")) { variables[name] = self.getAttribute(index + ""); } else { - variables[name] = param["default"]; + variables[name] = param["default"] || ""; } }); var result = this.wiki.filterTiddlers(srcVariable.value,this.makeFakeWidgetWithVariables(variables),this.wiki.makeTiddlerIterator([]))[0] || "";