Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: Improve title for exporting PDF https://github.com/siyuan-note/siyuan/issues/13656

Daniel15d37ce03692
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index 9dfa5de834..bd1083bcfd 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}" },