mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
Update quick-xml to 0.22 and bump version
This commit is contained in:
parent
dc6dd19a44
commit
56363714fb
2 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "minidom"
|
name = "minidom"
|
||||||
version = "0.13.0"
|
version = "0.14.0"
|
||||||
authors = [
|
authors = [
|
||||||
"lumi <lumi@pew.im>",
|
"lumi <lumi@pew.im>",
|
||||||
"Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>",
|
"Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>",
|
||||||
|
@ -21,4 +21,4 @@ edition = "2018"
|
||||||
gitlab = { repository = "xmpp-rs/xmpp-rs" }
|
gitlab = { repository = "xmpp-rs/xmpp-rs" }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
quick-xml = "0.20"
|
quick-xml = "0.22.0"
|
||||||
|
|
|
@ -413,7 +413,7 @@ impl Element {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Event::CData(s) => {
|
Event::CData(s) => {
|
||||||
let text = reader.decode(&s)?.to_owned();
|
let text = s.unescape_and_decode(&reader)?;
|
||||||
if !text.is_empty() {
|
if !text.is_empty() {
|
||||||
let current_elem = stack.last_mut().unwrap();
|
let current_elem = stack.last_mut().unwrap();
|
||||||
current_elem.append_text_node(text);
|
current_elem.append_text_node(text);
|
||||||
|
|
Loading…
Reference in a new issue