mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-29 21:08:49 +01:00
Signed-off-by: Daniel <845765@qq.com>
This commit is contained in:
parent
16cd7e2c0d
commit
da2f3234c2
1 changed files with 0 additions and 2 deletions
|
|
@ -323,8 +323,6 @@ func ResetBlockAttrs(id string, nameValues map[string]string) (err error) {
|
|||
|
||||
node.ClearIALAttrs()
|
||||
for name, value := range nameValues {
|
||||
value = util.RemoveInvalidRetainCtrl(value)
|
||||
value = strings.TrimSpace(value)
|
||||
if "" != value {
|
||||
node.SetIALAttr(name, value)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue