From a3548825e3cf36d4331abf91c90539694f35d94b Mon Sep 17 00:00:00 2001 From: Daniel <845765@qq.com> Date: Sun, 28 Dec 2025 15:45:50 +0800 Subject: [PATCH] :bug: Attribute values are not escaped https://github.com/siyuan-note/siyuan/pull/16712 https://github.com/siyuan-note/siyuan/issues/16686 Signed-off-by: Daniel <845765@qq.com> --- kernel/filesys/tree.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/filesys/tree.go b/kernel/filesys/tree.go index 6c66cc984..6e94ddb3f 100644 --- a/kernel/filesys/tree.go +++ b/kernel/filesys/tree.go @@ -294,7 +294,7 @@ func parseJSON2Tree(boxID, p string, jsonData []byte, luteEngine *lute.Lute) (re needFix = true } - if escapeAttributeValues(ret) { // TODO 划于 2026 年 6 月 30 日后删除 + if escapeAttributeValues(ret) { // TODO 计划于 2026 年 6 月 30 日后删除 // v3.5.1 https://github.com/siyuan-note/siyuan/pull/16657 引入的问题,属性值未转义 // v3.5.2 https://github.com/siyuan-note/siyuan/issues/16686 进行了修复,并加了订正逻辑 https://github.com/siyuan-note/siyuan/pull/16712 needFix = true