mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 23:20:13 +01:00
This commit is contained in:
parent
17595a3076
commit
efefa9baaf
2 changed files with 2 additions and 2 deletions
|
|
@ -297,7 +297,7 @@ func buildBacklink(refID string, refTree *parse.Tree, luteEngine *lute.Lute) (re
|
|||
return
|
||||
}
|
||||
|
||||
func BuildTreeBacklink(id, keyword, mentionKeyword string, beforeLen int) (boxID string, backlinks, backmentions []*Path, linkRefsCount, mentionsCount int) {
|
||||
func GetBacklink(id, keyword, mentionKeyword string, beforeLen int) (boxID string, backlinks, backmentions []*Path, linkRefsCount, mentionsCount int) {
|
||||
keyword = strings.TrimSpace(keyword)
|
||||
mentionKeyword = strings.TrimSpace(mentionKeyword)
|
||||
backlinks, backmentions = []*Path{}, []*Path{}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue