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: Fix https://github.com/siyuan-note/siyuan/issues/17070
Daniel72bce4036bde
diff --git a/kernel/model/search.go b/kernel/model/search.goindex 98663f15c7..6bd0891f2c 100644--- a/kernel/model/search.go+++ b/kernel/model/search.go@@ -1888,7 +1888,7 @@ func fromSQLBlock(sqlBlock *sql.Block, terms string, beforeLen int) (block *Bloccontent = maxContent(content, 5120)tag, _ := markSearch(sqlBlock.Tag, terms, beforeLen)markdown := maxContent(sqlBlock.Markdown, 5120)- fContent := sqlBlock.FContent+ fContent := util.EscapeHTML(sqlBlock.FContent)block = &Block{Box: sqlBlock.Box,Path: sqlBlock.Path,