From 15d37ce03692111523b19e59b10879c7952177a6 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 29 Dec 2024 09:06:41 +0800 Subject: [PATCH] :art: Improve title for exporting PDF https://github.com/siyuan-note/siyuan/issues/13656 --- 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 9dfa5de83..bd1083bcf 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -421,7 +421,7 @@ const renderPDF = async (id: string) => { alert(response.msg) return; } - document.title = '${window.siyuan.languages.export} PDF - ' + response.data.name + document.title = response.data.name window.siyuan = { config: { appearance: { mode: 0, codeBlockThemeDark: "${window.siyuan.config.appearance.codeBlockThemeDark}", codeBlockThemeLight: "${window.siyuan.config.appearance.codeBlockThemeLight}" },