mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02: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.replace(new RegExp(link.value, "g"), getNewNoteId(link.value));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
content = content.trim();
|
||||||
|
|
||||||
return content;
|
return content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user