Skip to content

Commit

Permalink
🎨 Improve handling of copy block ref when including images siyuan-not…
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Sep 30, 2023
1 parent e74733b commit 17dd264
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/model/blockinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func GetBlockRefText(id string) string {
func GetDOMText(dom string) (ret string) {
luteEngine := NewLute()
tree := luteEngine.BlockDOM2Tree(dom)
ret = renderBlockText(tree.Root, nil)
ret = renderBlockText(tree.Root.FirstChild, nil)
return
}

Expand Down

0 comments on commit 17dd264

Please sign in to comment.