From 811399ef871b02c707e2bcbb69edfd73bc948c03 Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 12 Jan 2025 17:57:56 +0800 Subject: [PATCH] :art: Improve escaping database block content https://github.com/siyuan-note/siyuan/issues/13704 --- kernel/model/attribute_view.go | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/model/attribute_view.go b/kernel/model/attribute_view.go index 3a7c8600f..4f89c31c5 100644 --- a/kernel/model/attribute_view.go +++ b/kernel/model/attribute_view.go @@ -1916,6 +1916,7 @@ func addAttributeViewBlock(now int64, avID, blockID, previousBlockID, addingBloc var blockIcon string if !isDetached { blockIcon, addingBlockContent = getNodeAvBlockText(node) + addingBlockContent = util.UnescapeHTML(addingBlockContent) } // 检查是否重复添加相同的块