mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
trim imported text
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user