From a61d6443075d2c341f65d4347155c7f318f4007f Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Fri, 6 Jan 2023 17:20:41 +0000 Subject: [PATCH] Somewhat simpler implementation --- core/modules/widgets/transclude.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/modules/widgets/transclude.js b/core/modules/widgets/transclude.js index d7862d2eb..de8877e86 100755 --- a/core/modules/widgets/transclude.js +++ b/core/modules/widgets/transclude.js @@ -67,6 +67,8 @@ TranscludeWidget.prototype.execute = function() { if(this.recursionMarker === "yes") { this.setVariable("transclusion",recursionMarker); } + // Set 'thisTiddler' + this.setVariable("thisTiddler",this.transcludeTitle); // Check for recursion if(parser) { if(this.parentWidget && this.parentWidget.hasVariable("transclusion",recursionMarker)) {