Merge branch 'develop' of ssh://github.com/TriliumNext/Notes into develop

This commit is contained in:
Elian Doran 2025-02-11 22:19:56 +02:00
commit d9e39fa792
No known key found for this signature in database

View File

@ -302,9 +302,7 @@ async function importZip(taskContext: TaskContext, fileBuffer: Buffer, importRoo
});
if (taskContext.data?.safeImport) {
console.log("Before", content);
content = htmlSanitizer.sanitize(content);
console.log("After", content);
}
content = content.replace(/<html.*<body[^>]*>/gis, "");