mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-10 12:46:39 +00:00
Fix problem with parsing missing tiddlers
This commit is contained in:
parent
789ba1e85d
commit
a61169e7e8
@ -814,7 +814,11 @@ exports.parseTextReference = function(title,field,index,options) {
|
||||
}
|
||||
}
|
||||
if(field === "text" || (!field && !index)) {
|
||||
return this.parseText(tiddler.fields.type || "text/vnd.tiddlywiki",tiddler.fields.text,options);
|
||||
if(tiddler && tiddler.fields) {
|
||||
return this.parseText(tiddler.fields.type || "text/vnd.tiddlywiki",tiddler.fields.text,options);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
} else if(field) {
|
||||
if(field === "title") {
|
||||
text = title;
|
||||
|
Loading…
x
Reference in New Issue
Block a user