diff --git a/plugins/tiddlywiki/xlsx-utils/importer.js b/plugins/tiddlywiki/xlsx-utils/importer.js index 6bd2f0946..34524c9e1 100644 --- a/plugins/tiddlywiki/xlsx-utils/importer.js +++ b/plugins/tiddlywiki/xlsx-utils/importer.js @@ -143,7 +143,8 @@ XLSXImporter.prototype.processField = function(fieldImportSpecTitle) { value = fieldImportSpec.fields["import-field-value"] break; } - if((value || "").trim() === "") { + value = (value || "").trim(); + if(value === "") { if((fieldImportSpec.fields["import-field-skip-tiddler-if-blank"] || "").trim().toLowerCase() === "yes") { this.skipTiddler = true; }