From 43e3b4d837ff131dbb1e8e1dd9660a9300b0bb94 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Sat, 11 Feb 2012 17:11:14 +0000 Subject: [PATCH] Repaired outdated function call --- tiddlywiki.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiddlywiki.js b/tiddlywiki.js index 7dd10fc5d..94caa1442 100644 --- a/tiddlywiki.js +++ b/tiddlywiki.js @@ -136,7 +136,7 @@ var commandLineSwitches = { var recipe = []; app.store.forEachTiddler(function(title,tiddler) { var filename = encodeURIComponent(tiddler.title.replace(/ /g,"_")) + ".tid"; - fs.writeFileSync(path.resolve(args[0],filename),tiddlerOutput.outputTiddler(tiddler),"utf8"); + fs.writeFileSync(path.resolve(args[0],filename),store.serializeTiddler("application/x-tiddler",tiddler),"utf8"); recipe.push("tiddler: " + filename + "\n"); }); fs.writeFileSync(path.join(args[0],"split.recipe"),recipe.join(""));