mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
🐛 Fix NPE
This commit is contained in:
parent
c3d5db2e12
commit
3830988747
1 changed files with 4 additions and 0 deletions
|
|
@ -215,6 +215,10 @@ func resolveEmbedR(n *ast.Node, blockEmbedMode int, luteEngine *lute.Lute, resol
|
||||||
}
|
}
|
||||||
|
|
||||||
subTree, _ := LoadTreeByBlockID(sqlBlock.ID)
|
subTree, _ := LoadTreeByBlockID(sqlBlock.ID)
|
||||||
|
if nil == subTree {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
var md string
|
var md string
|
||||||
if "d" == sqlBlock.Type {
|
if "d" == sqlBlock.Type {
|
||||||
if 0 == blockEmbedMode {
|
if 0 == blockEmbedMode {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue