An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:lipstick: search escape
Vanessa39cd4379dfcc
diff --git a/app/src/assets/scss/business/_search.scss b/app/src/assets/scss/business/_search.scssindex d31270b0d3..455e03b2cb 100644--- a/app/src/assets/scss/business/_search.scss+++ b/app/src/assets/scss/business/_search.scss@@ -145,6 +145,7 @@white-space: nowrap;position: relative;padding-right: 20px;+ line-height: 18px;}&__rmpath {diff --git a/app/src/search/spread.ts b/app/src/search/spread.tsindex 988ea7f700..718890e912 100644--- a/app/src/search/spread.ts+++ b/app/src/search/spread.ts@@ -49,14 +49,14 @@ export const openSearch = async (hotkey: string, key?: string, notebookId?: strilet hPath = "";let idPath: string[] = [];if (notebookId) {- hPath = escapeHtml(getNotebookName(notebookId));+ hPath = getNotebookName(notebookId);idPath.push(notebookId);if (searchPath && searchPath !== "/") {const response = await fetchSyncPost("/api/filetree/getHPathByPath", {notebook: notebookId,path: searchPath.endsWith(".sy") ? searchPath : searchPath + ".sy"});- hPath = pathPosix().join(hPath, escapeHtml(response.data));+ hPath = pathPosix().join(hPath, response.data);idPath[0] = pathPosix().join(idPath[0], searchPath);}} else if (window.siyuan.config.keymap.general.globalSearch.custom === hotkey) {