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

feat/alto
Gerber, Mike 2 years ago
parent c85356bd23
commit 6a549968b5

@ -55,6 +55,7 @@ class TagGroup:
for e in self.group: for e in self.group:
if t != '': if t != '':
t += separator t += separator
if e.text:
t += e.text t += e.text
return t return t

Loading…
Cancel
Save