🐛 Produce a text attribute even if the attribute has no value

master
Gerber, Mike 3 years ago
parent c85356bd23
commit 6a549968b5

@ -55,7 +55,8 @@ class TagGroup:
for e in self.group: for e in self.group:
if t != '': if t != '':
t += separator t += separator
t += e.text if e.text:
t += e.text
return t return t
def text_set(self): def text_set(self):

Loading…
Cancel
Save