From a11a4de6afc34feda4fec0de580b1a74466c0f27 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Mon, 2 May 2016 10:12:08 +0100 Subject: [PATCH] Fix problem with editing missing tiddlers Fixes #2412 --- core/modules/wiki.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/modules/wiki.js b/core/modules/wiki.js index 2853924ea..22f2aafbc 100755 --- a/core/modules/wiki.js +++ b/core/modules/wiki.js @@ -784,6 +784,7 @@ Options include: _canonical_uri: optional string of the canonical URI of this content */ exports.parseText = function(type,text,options) { + text = text || ""; options = options || {}; // Select a parser var Parser = $tw.Wiki.parsers[type];