X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/48d19713a178ae0e93df463f9675399295f75515..a1e43b7bba2a0c7cf33280143bb49af3fef5d0d0:/librarian/xmlutils.py?ds=sidebyside diff --git a/librarian/xmlutils.py b/librarian/xmlutils.py index f5cd213..37a719b 100644 --- a/librarian/xmlutils.py +++ b/librarian/xmlutils.py @@ -102,7 +102,7 @@ class Xmill(object): # depending on number of returned values, vals can be None, a value, or a tuple. # how poorly designed is that? 9 lines below are needed just to unpack this. if vals is None: - return [] + return [self.filter_text(element.tail)] else: if not isinstance(vals, tuple): return [vals, self.filter_text(element.tail)]