Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits: 96961854 by lovetox at 2020-03-15T09:51:01+01:00 NodeBuilder: Don't add empty strings to cdata list
It seems to serv no purpose and messes up the pretty printing
- - - - -
1 changed file:
- nbxmpp/simplexml.py
Changes:
===================================== nbxmpp/simplexml.py ===================================== @@ -625,8 +625,6 @@ class NodeBuilder: except ValueError as e: self._document_attrs = None raise ValueError(str(e)) - if not self.last_is_data and self._ptr.parent: - self._ptr.parent.data.append('') self.last_is_data = 0
def _check_stream_start(self, ns, tag):
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/96961854ec58dff104eb67267...