forked from lavina/lavina
Compare commits
9 Commits
e68d699462
...
d9bdb207cc
Author | SHA1 | Date |
---|---|---|
Mikhail | d9bdb207cc | |
Mikhail | 7376f4cd0a | |
Mikhail | cb03d0f409 | |
Mikhail | 37c5b6a324 | |
Mikhail | 3ec1faa967 | |
Mikhail | 9f3b1049de | |
Mikhail | a5c51df640 | |
Mikhail | 13a3b1af62 | |
Nikita Vilunov | cccc05afe9 |
|
@ -372,7 +372,7 @@ async fn socket_final(
|
|||
res = &mut next_xml_event => 's: {
|
||||
let (ns, event) = res?;
|
||||
if let Event::Text(ref e) = event {
|
||||
if e.iter().all(|x| *x == 0xA) {
|
||||
if e.iter().all(|x| *x == b'\n' || *x == b' ') {
|
||||
break 's true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue