[commit #11272] made getRecursiveTiddlerText return empty string if transclusion target does not exist

0 views
Skip to first unread message

s...@tiddlywiki.org

unread,
Nov 24, 2009, 1:29:37 PM11/24/09
to
http://trac.tiddlywiki.org/changeset/11272

FND
2009-11-24 10:29:36 -0800 (Tue, 24 Nov 2009)
192
made getRecursiveTiddlerText return empty string if transclusion target does not exist

This was previously changed to retain defaultText, which is not actually
desirable though.

ticket #1172

---------------

U Trunk/core/js/TiddlyWiki.js

---------------

Modified: Trunk/core/js/TiddlyWiki.js
===================================================================
--- Trunk/core/js/TiddlyWiki.js 2009-11-24 14:06:03 UTC (rev 11271)
+++ Trunk/core/js/TiddlyWiki.js 2009-11-24 18:29:36 UTC (rev 11272)
@@ -144,7 +144,7 @@
if(depth <= 0)
textOut.push(match[1]);
else
- textOut.push(this.getRecursiveTiddlerText(match[1],defaultText,depth-1));
+ textOut.push(this.getRecursiveTiddlerText(match[1],"",depth-1));
}
lastPos = match.index + match[0].length;
} else {
Reply all
Reply to author
Forward
0 new messages