🎨 Improve escaping database block content https://github.com/siyuan-note/siyuan/issues/13704

This commit is contained in:
Daniel 2025-01-12 17:57:56 +08:00
parent 87e24c56d7
commit 811399ef87
No known key found for this signature in database
GPG Key ID: 86211BA83DF03017

View File

@ -1916,6 +1916,7 @@ func addAttributeViewBlock(now int64, avID, blockID, previousBlockID, addingBloc
var blockIcon string var blockIcon string
if !isDetached { if !isDetached {
blockIcon, addingBlockContent = getNodeAvBlockText(node) blockIcon, addingBlockContent = getNodeAvBlockText(node)
addingBlockContent = util.UnescapeHTML(addingBlockContent)
} }
// 检查是否重复添加相同的块 // 检查是否重复添加相同的块