1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Fix TW2 parser crashing on skinny tiddlers

This commit is contained in:
Jeremy Ruston 2012-11-18 14:57:28 +00:00
parent 41db3d89ae
commit b962739f04

View File

@ -64,6 +64,7 @@ WikiTextParser.prototype.installRules = function() {
};
WikiTextParser.prototype.parse = function(type,text) {
text = text || "";
this.source = text;
this.nextMatch = 0;
this.children = [];