Skip to content

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

:art: Global search supports searching with tabs https://github.com/siyuan-note/siyuan/issues/14632

Daniel8c95f47fd5b7
diff --git a/kernel/model/search.go b/kernel/model/search.go
index e887be1be6..33b97e5ce0 100644
--- a/kernel/model/search.go
+++ b/kernel/model/search.go
@@ -2195,8 +2195,10 @@ func getRefSearchIgnoreLines() (ret []string) {
func filterQueryInvisibleChars(query string) string {
query = strings.ReplaceAll(query, " ", "_@full_width_space@_")
+ query = strings.ReplaceAll(query, "\t", "_@tab@_")
query = util.RemoveInvalid(query)
query = strings.ReplaceAll(query, "_@full_width_space@_", " ")
+ query = strings.ReplaceAll(query, "_@tab@_", "\t")
return query
}