mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-17 15:10:12 +01:00
🎨 Improve escaping database block content https://github.com/siyuan-note/siyuan/issues/13704
This commit is contained in:
parent
87e24c56d7
commit
811399ef87
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue