Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Link Mauve
python-nbxmpp
Commits
857ab2bb
Commit
857ab2bb
authored
Apr 15, 2020
by
Philipp Hörist
Browse files
Revert "NodeBuilder: Don't add empty strings to cdata list"
This reverts commit
96961854
parent
1d792d6c
Changes
1
Hide whitespace changes
Inline
Side-by-side
nbxmpp/simplexml.py
View file @
857ab2bb
...
...
@@ -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
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment