mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-18 21:18:07 +01:00
Merge remote-tracking branch 'origin/dev' into dev
This commit is contained in:
commit
1d47fbf872
1 changed files with 2 additions and 1 deletions
|
|
@ -26,6 +26,7 @@ import (
|
|||
"github.com/88250/gulu"
|
||||
"github.com/88250/lute/ast"
|
||||
"github.com/88250/lute/editor"
|
||||
"github.com/88250/lute/html"
|
||||
"github.com/88250/lute/parse"
|
||||
"github.com/araddon/dateparse"
|
||||
"github.com/siyuan-note/siyuan/kernel/cache"
|
||||
|
|
@ -277,7 +278,7 @@ func setNodeAttrs0(node *ast.Node, nameValues map[string]string) (oldAttrs map[s
|
|||
// 删除大小写完全匹配的属性
|
||||
delete(newAttrs, name)
|
||||
// 保存小写的属性 https://github.com/siyuan-note/siyuan/issues/16447
|
||||
newAttrs[lowerName] = value
|
||||
newAttrs[lowerName] = html.EscapeAttrVal(value)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue