From 98f682e507997255141455e7d925ea43ea739c5a Mon Sep 17 00:00:00 2001 From: Liang Ding Date: Wed, 18 Jan 2023 21:08:08 +0800 Subject: [PATCH] =?UTF-8?q?:art:=20=E5=B5=8C=E5=85=A5=E5=9D=97=E7=BA=B3?= =?UTF-8?q?=E5=85=A5=E5=BC=95=E7=94=A8=E8=AE=A1=E6=95=B0=E5=92=8C=E5=8F=8D?= =?UTF-8?q?=E9=93=BE=20https://github.com/siyuan-note/siyuan/issues/7096?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel/sql/database.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sql/database.go b/kernel/sql/database.go index b11a12003..3c8ca4230 100644 --- a/kernel/sql/database.go +++ b/kernel/sql/database.go @@ -361,7 +361,7 @@ func buildEmbedRef(tree *parse.Tree, embedNode *ast.Node) *Ref { RootID: tree.ID, Box: tree.Box, Path: tree.Path, - Content: "", + Content: "", // 通过嵌入块构建引用时定义块可能还没有入库,所以这里统一不填充内容 Markdown: "", Type: treenode.TypeAbbr(embedNode.Type.String()), }