mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #5855 (Import of ePub book with multiple entries on a single Subject Meta line needs cleanup)
This commit is contained in:
parent
534847a80a
commit
f712c3cc3b
@ -736,7 +736,9 @@ class OPF(object):
|
|||||||
def fget(self):
|
def fget(self):
|
||||||
ans = []
|
ans = []
|
||||||
for tag in self.tags_path(self.metadata):
|
for tag in self.tags_path(self.metadata):
|
||||||
ans.append(self.get_text(tag))
|
text = self.get_text(tag)
|
||||||
|
if text and text.strip():
|
||||||
|
ans.extend([x.strip() for x in text.split(',')])
|
||||||
return ans
|
return ans
|
||||||
|
|
||||||
def fset(self, val):
|
def fset(self, val):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user