mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-02 19:59:08 +08:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
a1c12d4a38
@ -306,6 +306,7 @@ func SearchTags(keyword string) (ret []string) {
|
||||
sql.FlushQueue()
|
||||
|
||||
labels := labelBlocksByKeyword(keyword)
|
||||
keyword = strings.Join(strings.Split(keyword, " "), search.TermSep)
|
||||
for label := range labels {
|
||||
_, t := search.MarkText(label, keyword, 1024, Conf.Search.CaseSensitive)
|
||||
ret = append(ret, t)
|
||||
|
Loading…
Reference in New Issue
Block a user