Commit 857ab2bb authored by Philipp Hörist's avatar Philipp Hörist

Revert "NodeBuilder: Don't add empty strings to cdata list"

This reverts commit 96961854
parent 1d792d6c
Pipeline #5374 failed with stages
in 18 seconds
......@@ -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):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment