Fix importing blank fields from TiddlyWiki files

print-window-tiddler
Jermolene 2014-05-26 17:47:07 +01:00
rodzic 3fa4b00ede
commit 86d182fd51
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -57,7 +57,7 @@ var parseTiddlerDiv = function(text /* [,fields] */) {
attrMatch = attrRegExp.exec(match[1]);
if(attrMatch) {
var name = attrMatch[1];
var value = attrMatch[2] || attrMatch[3];
var value = attrMatch[2] !== undefined ? attrMatch[2] : attrMatch[3];
result[name] = value;
}
} while(attrMatch);