FND
2009-11-03 03:17:09 -0800 (Tue, 03 Nov 2009)
99
made getRecursiveTiddlerText return defaultText if transclusion target does not exist
ticket #1172
---------------
U Trunk/core/js/TiddlyWiki.js
---------------
Modified: Trunk/core/js/TiddlyWiki.js
===================================================================
--- Trunk/core/js/TiddlyWiki.js 2009-11-02 18:40:23 UTC (rev 11165)
+++ Trunk/core/js/TiddlyWiki.js 2009-11-03 11:17:09 UTC (rev 11166)
@@ -144,7 +144,7 @@
if(depth <= 0)
textOut.push(match[1]);
else
- textOut.push(this.getRecursiveTiddlerText(match[1],"[[" + match[1] + "]]",depth-1));
+ textOut.push(this.getRecursiveTiddlerText(match[1],defaultText,depth-1));
}
lastPos = match.index + match[0].length;
} else {