🐛 预览虚拟引用报错 Fix https://github.com/siyuan-note/siyuan/issues/5933
This commit is contained in:
parent
86276e414b
commit
a8b6b1b37b
4 changed files with 7 additions and 2 deletions
2
app/stage/protyle/js/lute/lute.min.js
vendored
2
app/stage/protyle/js/lute/lute.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -7,7 +7,7 @@ require (
|
|||
github.com/88250/css v0.1.2
|
||||
github.com/88250/flock v0.8.2
|
||||
github.com/88250/gulu v1.2.3-0.20220916075322-eb117059d70a
|
||||
github.com/88250/lute v1.7.5-0.20220923111910-18fda7ca5ad5
|
||||
github.com/88250/lute v1.7.5-0.20220923151059-e9fcd6382190
|
||||
github.com/88250/pdfcpu v0.3.13
|
||||
github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1
|
||||
github.com/ConradIrwin/font v0.0.0-20210318200717-ce8d41cc0732
|
||||
|
|
|
@ -25,6 +25,8 @@ github.com/88250/lute v1.7.5-0.20220923091635-33c4e7afab31 h1:YmbhOyyyDif5n1tz2j
|
|||
github.com/88250/lute v1.7.5-0.20220923091635-33c4e7afab31/go.mod h1:cEoBGi0zArPqAsp0MdG9SKinvH/xxZZWXU7sRx8vHSA=
|
||||
github.com/88250/lute v1.7.5-0.20220923111910-18fda7ca5ad5 h1:cQBBeWm8AXo5Y9XE6xS+cz4gycWqlzio6cQZEEhs3UM=
|
||||
github.com/88250/lute v1.7.5-0.20220923111910-18fda7ca5ad5/go.mod h1:cEoBGi0zArPqAsp0MdG9SKinvH/xxZZWXU7sRx8vHSA=
|
||||
github.com/88250/lute v1.7.5-0.20220923151059-e9fcd6382190 h1:s98Cjm1yyI0uVrYmnlWtqcVqWWJhJ/BB6slGnXNga+g=
|
||||
github.com/88250/lute v1.7.5-0.20220923151059-e9fcd6382190/go.mod h1:cEoBGi0zArPqAsp0MdG9SKinvH/xxZZWXU7sRx8vHSA=
|
||||
github.com/88250/pdfcpu v0.3.13 h1:touMWMZkCGalMIbEg9bxYp7rETM+zwb9hXjwhqi4I7Q=
|
||||
github.com/88250/pdfcpu v0.3.13/go.mod h1:S5YT38L/GCjVjmB4PB84PymA1qfopjEhfhTNQilLpv4=
|
||||
github.com/88250/vitess-sqlparser v0.0.0-20210205111146-56a2ded2aba1 h1:48T899JQDwyyRu9yXHePYlPdHtpJfrJEUGBMH3SMBWY=
|
||||
|
|
|
@ -144,6 +144,9 @@ func GetBlockRefIDsByFileAnnotationID(id string) (refIDs, refTexts []string) {
|
|||
func GetBlockDefIDsByRefText(refText string, excludeIDs []string) (ret []string) {
|
||||
ret = sql.QueryBlockDefIDsByRefText(refText, excludeIDs)
|
||||
sort.Sort(sort.Reverse(sort.StringSlice(ret)))
|
||||
if 1 > len(ret) {
|
||||
ret = []string{}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue