[commit #11166] made getRecursiveTiddlerText return defaultText if transclusion target does not exist

0 views
Skip to first unread message

s...@tiddlywiki.org

unread,
Nov 3, 2009, 6:17:09 AM11/3/09
to
http://trac.tiddlywiki.org/changeset/11166

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 {

Reply all
Reply to author
Forward
0 new messages