mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
🎨 改进标题下方块引用时的反链定位 https://github.com/siyuan-note/siyuan/issues/7484
This commit is contained in:
parent
a629b39dd4
commit
6d71788e19
1 changed files with 1 additions and 1 deletions
|
|
@ -514,7 +514,7 @@ func buildLinkRefs(defRootID string, refs []*sql.Ref, keyword string) (ret []*Bl
|
|||
}
|
||||
paragraphParents := sql.GetBlocks(paragraphParentIDs)
|
||||
for _, p := range paragraphParents {
|
||||
if "i" == p.Type || "h" == p.Type {
|
||||
if "i" == p.Type { // || "h" == p.Type 改进标题下方块引用时的反链定位 https://github.com/siyuan-note/siyuan/issues/7484
|
||||
processedParagraphs.Add(p.ID)
|
||||
|
||||
if !strings.Contains(p.Content, keyword) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue