diff --git a/js/Recipe.js b/js/Recipe.js
index 7c1a0a767..c5af6c646 100755
--- a/js/Recipe.js
+++ b/js/Recipe.js
@@ -166,7 +166,7 @@ Recipe.ingredientOutputter = {
// Ordinary tiddlers are output as a
for(var t=0; t
tag and the text
*/
-tiddlerOutput.outputTiddlerDiv = function(out,tid) {
+tiddlerOutput.outputTiddlerDiv = function(tid) {
var result = [];
var outputAttribute = function(name,value) {
result.push(" " + name + "=\"" + value + "\"");
@@ -43,7 +43,7 @@ tiddlerOutput.outputTiddlerDiv = function(out,tid) {
result.push(">\n\n");
result.push(utils.htmlEncode(tid.fields.text));
result.push("
\n ");
- out.push(result.join(""));
+ return result.join("");
}
tiddlerOutput.stringifyTags = function(tags) {