Philipp Hörist pushed to branch master at gajim / python-nbxmpp

Commits:

1 changed file:

Changes:

  • nbxmpp/simplexml.py
    ... ... @@ -625,6 +625,8 @@ class NodeBuilder:
    625 625
                 except ValueError as e:
    
    626 626
                     self._document_attrs = None
    
    627 627
                     raise ValueError(str(e))
    
    628
    +        if not self.last_is_data and self._ptr.parent:
    
    629
    +            self._ptr.parent.data.append('')
    
    628 630
             self.last_is_data = 0
    
    629 631
     
    
    630 632
         def _check_stream_start(self, ns, tag):