1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 17:10:29 +00:00

Fixed a long standing issue with javascript module tiddlers being truncated

Ouch!
This commit is contained in:
Jeremy Ruston 2012-07-10 23:17:39 +01:00
parent 443f2e4aa8
commit ea6d7f5c08

View File

@ -63,7 +63,9 @@ exports["application/json"] = function(text,fields) {
getKnownFields = function(tid) {
var fields = {};
"title text created creator modified modifier type tags".split(" ").forEach(function(value) {
fields[value] = tid[value];
if(tid[value] !== null) {
fields[value] = tid[value];
}
});
return fields;
};