fix: slow logging
This commit is contained in:
parent
695b013940
commit
1bcbe40996
|
|
@ -420,7 +420,7 @@ async function copyEmbeddedImagesInHTML(
|
|||
targetNote?: Zotero.Item,
|
||||
refNotes: Zotero.Item[] = [],
|
||||
) {
|
||||
ztoolkit.log("parseEmbeddedImagesInHTML", html, targetNote, refNotes);
|
||||
ztoolkit.log("parseEmbeddedImagesInHTML", html, targetNote?.getNoteTitle(), refNotes.length);
|
||||
if (!targetNote) {
|
||||
return html;
|
||||
}
|
||||
|
|
@ -433,7 +433,7 @@ async function copyEmbeddedImagesInHTML(
|
|||
return html;
|
||||
}
|
||||
|
||||
ztoolkit.log(attachments);
|
||||
ztoolkit.log(attachments.length, "attachments found in refNotes");
|
||||
|
||||
const doc = new DOMParser().parseFromString(html, "text/html");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue