trim imported text

This commit is contained in:
zadam 2023-02-19 21:34:37 +01:00
parent ed30ec27e7
commit 232dad66d1

View File

@ -325,6 +325,9 @@ async function importZip(taskContext, fileBuffer, importRootNote) {
content = content.replace(new RegExp(link.value, "g"), getNewNoteId(link.value)); content = content.replace(new RegExp(link.value, "g"), getNewNoteId(link.value));
} }
} }
content = content.trim();
return content; return content;
} }