mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-04 06:31:35 +08:00
trim imported text
This commit is contained in:
parent
ed30ec27e7
commit
232dad66d1
@ -325,6 +325,9 @@ async function importZip(taskContext, fileBuffer, importRootNote) {
|
||||
content = content.replace(new RegExp(link.value, "g"), getNewNoteId(link.value));
|
||||
}
|
||||
}
|
||||
|
||||
content = content.trim();
|
||||
|
||||
return content;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user