mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
xlsx-utils: Automatically trim cell values
This commit is contained in:
parent
ed1a7e73cd
commit
daad0ec142
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user