diff --git a/core/modules/widgets/transclude.js b/core/modules/widgets/transclude.js index 2494f3b63..e93b7c93d 100755 --- a/core/modules/widgets/transclude.js +++ b/core/modules/widgets/transclude.js @@ -45,7 +45,7 @@ TranscludeWidget.prototype.execute = function() { // Check for recursion var recursionMarker = this.makeRecursionMarker();; if(this.parentWidget && this.parentWidget.hasVariable("transclusion",recursionMarker)) { - this.makeChildWidgets([{type: "text", text: "Tiddler recursion error in transclude widget"}]); + this.makeChildWidgets([{type: "text", text: "Recursive transclusion error in transclude widget"}]); return; } // Set context variables for recursion detection diff --git a/editions/test/tiddlers/tests/test-widget.js b/editions/test/tiddlers/tests/test-widget.js index 2b42ed005..910fa80f5 100755 --- a/editions/test/tiddlers/tests/test-widget.js +++ b/editions/test/tiddlers/tests/test-widget.js @@ -163,7 +163,7 @@ describe("Widget module", function() { var wrapper = renderWidgetNode(widgetNode); describe("should detect the recursion", function() { // Test the rendering - expect(wrapper.innerHTML).toBe("Tiddler recursion error in transclude widget\n"); + expect(wrapper.innerHTML).toBe("Recursive transclusion error in transclude widget\n"); }); });