mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-08-08 14:55:17 +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) {
|
WikiTextParser.prototype.parse = function(type,text) {
|
||||||
|
text = text || "";
|
||||||
this.source = text;
|
this.source = text;
|
||||||
this.nextMatch = 0;
|
this.nextMatch = 0;
|
||||||
this.children = [];
|
this.children = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user