🎨 自动校验索引时考虑大小写忽略表 Fix https://github.com/siyuan-note/siyuan/issues/7125

This commit is contained in:
Liang Ding
2023-01-19 17:52:41 +08:00
parent f84efb9efa
commit a00af1bd6c
3 changed files with 29 additions and 4 deletions

View File

@@ -25,6 +25,7 @@ import (
"sync"
"time"
"github.com/88250/lute/ast"
"github.com/88250/lute/parse"
"github.com/emirpasic/gods/sets/hashset"
"github.com/siyuan-note/eventbus"
@@ -142,6 +143,9 @@ func FlushQueue() {
return
}
for _, box := range boxes.Values() {
if !ast.IsNodeIDPattern(box.(string)) {
continue
}
updateBoxHash(tx, box.(string))
}
CommitTx(tx)