From d76eddc875d7a92a804bb08a4935093a8fff274a Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 25 Oct 2023 09:34:38 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/9497 --- app/src/protyle/export/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index 92e4d6de4..fa0f1c9ee 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -69,7 +69,7 @@ export const saveExport = (option: IExportOptions) => { }; /// #if !BROWSER -const renderPDF = (id: string, fileType:string) => { +const renderPDF = (id: string, fileType: string) => { const localData = window.siyuan.storage[Constants.LOCAL_EXPORTPDF]; const servePath = window.location.protocol + "//" + window.location.host; const isDefault = (window.siyuan.config.appearance.mode === 1 && window.siyuan.config.appearance.themeDark === "midnight") || (window.siyuan.config.appearance.mode === 0 && window.siyuan.config.appearance.themeLight === "daylight"); @@ -579,7 +579,7 @@ const getExportPath = (option: IExportOptions, removeAssets?: boolean, mergeSubd }); }; -const onExport = (data: IWebSocketData, filePath: string, exportOption:IExportOptions, removeAssets?: boolean, msgId?: string) => { +const onExport = (data: IWebSocketData, filePath: string, exportOption: IExportOptions, removeAssets?: boolean, msgId?: string) => { let themeName = window.siyuan.config.appearance.themeLight; let mode = 0; if (["html", "htmlmd"].includes(exportOption.type) && window.siyuan.config.appearance.mode === 1) {