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:
parent
41db3d89ae
commit
b962739f04
@ -64,6 +64,7 @@ WikiTextParser.prototype.installRules = function() {
|
||||
};
|
||||
|
||||
WikiTextParser.prototype.parse = function(type,text) {
|
||||
text = text || "";
|
||||
this.source = text;
|
||||
this.nextMatch = 0;
|
||||
this.children = [];
|
||||
|
Loading…
Reference in New Issue
Block a user