From 8dda32d9a033c22585b4112fea0794821adbcca5 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 17 Apr 2023 20:22:06 +0800 Subject: [PATCH 1/2] :bug: The assets do not display correctly in PDF export window and file https://github.com/siyuan-note/siyuan/issues/8016 Asset files no longer use HTTP server when exporting PDF https://github.com/siyuan-note/siyuan/issues/7965 --- app/src/protyle/export/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index 609f1d582..0b6190dbe 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -82,6 +82,7 @@ const renderPDF = (id: string) => { const html = ` + @@ -599,6 +600,7 @@ const onExport = (data: IWebSocketData, filePath: string, type: string, removeAs const html = ` + From f027d27f823e7fe44b943837830f487d55a23903 Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Mon, 17 Apr 2023 20:24:08 +0800 Subject: [PATCH 2/2] :bug: The assets do not display correctly in PDF export window and file https://github.com/siyuan-note/siyuan/issues/8016 Asset files no longer use HTTP server when exporting PDF https://github.com/siyuan-note/siyuan/issues/7965 --- app/src/protyle/export/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index 0b6190dbe..5af37c1fb 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -600,7 +600,6 @@ const onExport = (data: IWebSocketData, filePath: string, type: string, removeAs const html = ` -