diff --git a/src/calibre/ebooks/metadata/opf2.py b/src/calibre/ebooks/metadata/opf2.py index 3367ab14f6..46924cad1f 100644 --- a/src/calibre/ebooks/metadata/opf2.py +++ b/src/calibre/ebooks/metadata/opf2.py @@ -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):