This commit is contained in:
Daniel 2025-04-10 11:59:56 +08:00
parent 9729b72a9e
commit 669dfb7d58
No known key found for this signature in database
GPG key ID: 86211BA83DF03017
2 changed files with 11 additions and 2 deletions

View file

@ -305,6 +305,8 @@ func SearchTags(keyword string) (ret []string) {
ret = []string{}
defer logging.Recover() // 定位 无法添加题头图标签 https://github.com/siyuan-note/siyuan/issues/6756
sql.FlushQueue()
labels := labelBlocksByKeyword(keyword)
for label := range labels {
_, t := search.MarkText(label, keyword, 1024, Conf.Search.CaseSensitive)