forked from lavina/lavina
Compare commits
8 Commits
d9bdb207cc
...
e68d699462
Author | SHA1 | Date |
---|---|---|
Mikhail | e68d699462 | |
Mikhail | 3701fb695b | |
Mikhail | 2cf3edd27b | |
Mikhail | 0b3e517f4d | |
Mikhail | c98d3378d1 | |
Mikhail | 0fce14599e | |
Mikhail | 6756a91761 | |
Mikhail | 4b620de113 |
|
@ -372,7 +372,7 @@ async fn socket_final(
|
||||||
res = &mut next_xml_event => 's: {
|
res = &mut next_xml_event => 's: {
|
||||||
let (ns, event) = res?;
|
let (ns, event) = res?;
|
||||||
if let Event::Text(ref e) = event {
|
if let Event::Text(ref e) = event {
|
||||||
if e.iter().all(|x| *x == b'\n' || *x == b' ') {
|
if e.iter().all(|x| *x == 0xA) {
|
||||||
break 's true;
|
break 's true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue