mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 08:46:55 +08:00
This commit is contained in:
1 parent
bcb9f98f8b
commit
3959664448
52 files changed
+1864
-407
No files matched your search
@@ -960,6 +960,14 @@ func (m *editorPageImport) encode(entry editorImportEntry, node *editorXML) ([]b
|
||||
}
|
||||
case "AttachID":
|
||||
value, err = m.attachment(value)
|
||||
case "Profile":
|
||||
if name == "ColorSpace" {
|
||||
loc, resolveErr := m.resolve(entry.name, entry.base, strings.TrimSpace(value))
|
||||
if resolveErr != nil {
|
||||
return nil, resolveErr
|
||||
}
|
||||
value, err = m.copyData(loc, path.Join("Res/ColorSpaces", path.Base(loc)), false)
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in new issue
Block a user