mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-03 04:01:23 +08:00
🎨 Improve escaping database block content https://github.com/siyuan-note/siyuan/issues/13704
This commit is contained in:
parent
87e24c56d7
commit
811399ef87
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 检查是否重复添加相同的块
|
// 检查是否重复添加相同的块
|
||||||
|
Loading…
Reference in New Issue
Block a user