mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-30 13:28:48 +01:00
🎨 Improve block ref search ID extraction https://github.com/siyuan-note/siyuan/issues/10848
This commit is contained in:
parent
455f348e91
commit
c2cd204363
1 changed files with 2 additions and 0 deletions
|
|
@ -1107,6 +1107,8 @@ func fullTextSearchRefBlock(keyword string, beforeLen int, onlyDoc bool) (ret []
|
|||
}
|
||||
|
||||
func extractID(content string) (ret string) {
|
||||
// Improve block ref search ID extraction https://github.com/siyuan-note/siyuan/issues/10848
|
||||
|
||||
if 22 > len(content) {
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue