feat(标准支持): 统一命名空间匹配与兼容
build.yaml / build (push) Successful in 47s

This commit is contained in:
xiaoqidun committed 2026-10-09 23:30:39 +08:00
1 parent e9caaa4193
commit f96ef65741
12 files changed
+30 -30

No files matched your search

+1 -1
View File
@@ -217,7 +217,7 @@ func (e *Editor) editAttachment(id string, change func([]byte, *editorXML, map[s
var found *editorXML
if root != nil {
for _, child := range root.children {
if packageOFDNode(child, "Attachment") && child.attr("ID") == id {
if child.matchesOFD("Attachment") && child.attr("ID") == id {
if found != nil {
return fmt.Errorf("duplicate attachment ID: %s", id)
}