feat(编辑能力): 修复旧命名空间资源压缩
build.yaml / build (push) Successful in 54s

This commit is contained in:
xiaoqidun committed 2026-10-13 01:10:59 +08:00
1 parent 261971cc41
commit 3f797e656b
1 file changed
+1 -1
+1 -1
View File
@@ -133,7 +133,7 @@ func (s *editorReferenceScan) accept(token xml.Token) bool {
} }
switch token := token.(type) { switch token := token.(type) {
case xml.StartElement: case xml.StartElement:
if token.Name.Space != "" && token.Name.Space != ofdNamespace2016 { if classifyOFDNamespace(token.Name.Space) == ofdXMLUnknown {
s.safe = false s.safe = false
return false return false
} }