Fix problem with parseTextReference not recognising missing indices

print-window-tiddler
Jermolene 2014-08-18 10:13:30 +01:00
rodzic d7cb82d65d
commit a637af022d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -830,7 +830,7 @@ exports.parseTextReference = function(title,field,index,options) {
}
return this.parseText("text/vnd.tiddlywiki",text.toString(),options);
} else if(index) {
text = this.extractTiddlerDataItem(tiddler,index,"");
text = this.extractTiddlerDataItem(tiddler,index,undefined);
if(text === undefined) {
return null;
}