Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits: 857ab2bb by Philipp Hörist at 2020-04-15T20:27:40+02:00 Revert "NodeBuilder: Don't add empty strings to cdata list"
This reverts commit 96961854ec58dff104eb67267424c6b7bc1ba2ba - - - - -
1 changed file:
- nbxmpp/simplexml.py
Changes:
===================================== nbxmpp/simplexml.py ===================================== @@ -625,6 +625,8 @@ 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/857ab2bb5ee89d00e747ea892...