Skip to content

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

:art: Improve av https://github.com/siyuan-note/siyuan/issues/15593

Danielf8bccc2d9f68
diff --git a/kernel/av/filter.go b/kernel/av/filter.go
index 6670d5780b..df21ebc4cc 100644
--- a/kernel/av/filter.go
+++ b/kernel/av/filter.go
@@ -893,7 +893,7 @@ func (filter *ViewFilter) GetAffectValue(key *Key, addingBlockID string) (ret *V
start = start2
start2 = tmp
}
- if end.After(end2) {
+ if end.Before(end2) {
tmp := end
end = end2
end2 = tmp