From 46d71eb69fc43c50f9d0828c4cefd06a50b7ce17 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Tue, 31 Dec 2024 21:36:47 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/13669 --- app/src/protyle/export/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index fd1ec793b..b676ace5f 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -406,7 +406,7 @@ const renderPDF = async (id: string) => { // https://github.com/siyuan-note/siyuan/issues/13669 wysElement.querySelectorAll('[data-node-id]').forEach((item) => { if (item.querySelector(".img")) { - item.innerHTML = item.innerHTML + "
" + item.insertAdjacentHTML("beforeend", "
"); } }) Protyle.mermaidRender(wysElement, "${servePath}/stage/protyle");