An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Search results preview contains escape character issue https://github.com/siyuan-note/siyuan/issues/9790 https://ld246.com/article/1709035088865
Daniel8d28c4edc99c
diff --git a/kernel/search/mark.go b/kernel/search/mark.goindex b5806ce774..d8fecb2257 100644--- a/kernel/search/mark.go+++ b/kernel/search/mark.go@@ -118,7 +118,7 @@ func EncloseHighlighting(text string, keywords []string, openMark, closeMark str}// 搜索结果预览包含转义符问题 Search results preview contains escape character issue https://github.com/siyuan-note/siyuan/issues/9790- ret = strings.ReplaceAll(ret, "\\<span", "\\\\<span ")+ ret = strings.ReplaceAll(ret, "\\<span", "\\\\<span")return}