mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-30 01:27:26 +08:00
1 parent
261971cc41
commit
3f797e656b
1 file changed
+1
-1
@@ -133,7 +133,7 @@ func (s *editorReferenceScan) accept(token xml.Token) bool {
|
||||
}
|
||||
switch token := token.(type) {
|
||||
case xml.StartElement:
|
||||
if token.Name.Space != "" && token.Name.Space != ofdNamespace2016 {
|
||||
if classifyOFDNamespace(token.Name.Space) == ofdXMLUnknown {
|
||||
s.safe = false
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user