mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
MOBI Input: Preserve the dc:rights metadata during conversion. Fixes #1333468 [dc:rights element removed from opf](https://bugs.launchpad.net/calibre/+bug/1333468)
This commit is contained in:
parent
ffde0ca388
commit
bca2e2ad7e
@ -125,6 +125,8 @@ class EXTHHeader(object): # {{{
|
||||
pass
|
||||
elif idx == 108:
|
||||
self.mi.book_producer = clean_xml_chars(self.decode(content).strip())
|
||||
elif idx == 109:
|
||||
self.mi.rights = clean_xml_chars(self.decode(content).strip())
|
||||
elif idx == 112: # dc:source set in some EBSP amazon samples
|
||||
try:
|
||||
content = content.decode(codec).strip()
|
||||
|
Loading…
x
Reference in New Issue
Block a user