🎨 Improve block ref search ID extraction https://github.com/siyuan-note/siyuan/issues/10848

This commit is contained in:
Daniel
2024-04-03 11:13:48 +08:00
parent 455f348e91
commit c2cd204363

View File

@@ -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
}