mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
feat(import/zip): support image with absolute path
This commit is contained in:
parent
e6e276a0cf
commit
02a0624e8f
@ -335,7 +335,7 @@ async function importZip(taskContext: TaskContext, fileBuffer: Buffer, importRoo
|
|||||||
return `src="${url}"`;
|
return `src="${url}"`;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isUrlAbsolute(url) || url.startsWith("/")) {
|
if (isUrlAbsolute(url)) {
|
||||||
return match;
|
return match;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user