Fix problem with editing missing tiddlers

Fixes #2412
This commit is contained in:
Jermolene 2016-05-02 10:12:08 +01:00
parent 5f68f411c8
commit a11a4de6af
1 changed files with 1 additions and 0 deletions

View File

@ -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];