mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -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):
|
||||
ans = []
|
||||
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
|
||||
|
||||
def fset(self, val):
|
||||
|
Loading…
x
Reference in New Issue
Block a user