mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
1 parent
9c5ce1d66f
commit
ac198f3351
56 files changed
+3029
-825
No files matched your search
@@ -180,7 +180,7 @@ func editorXMLRemapIDs(data []byte, root *editorXML, ids map[string]string) ([]b
|
||||
}
|
||||
patches = append(patches, editorXMLPatch{node.start, node.open, value})
|
||||
}
|
||||
if node.name.Local == "Font" || node.name.Local == "Substitution" {
|
||||
if node.name.Local == "Font" || node.name.Local == "Substitution" || node.name.Local == "Thumbnail" {
|
||||
if value := ids[editorResourceID(editorImportText(data, node))]; value != "" {
|
||||
patches = append(patches, editorXMLContent(data, node, []byte(value)))
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user