Skip to content

Commit 237edae

Browse files
committed
👽️ fix: replace unescape with decode
see https://github.com/tafia/quick-xml/releases/tag/v0.38.0
1 parent 5fa001d commit 237edae

File tree

1 file changed

+1
-1
lines changed
  • packages/biliass/rust/src/reader

1 file changed

+1
-1
lines changed

packages/biliass/rust/src/reader/xml.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ fn parse_comment_content(reader: &mut Reader<&[u8]>) -> Result<String, ParseErro
3434
let mut buf = Vec::new();
3535

3636
if let Ok(Event::Text(e)) = reader.read_event_into(&mut buf) {
37-
content = Some(e.unescape().unwrap().into_owned());
37+
content = Some(e.decode().unwrap().into_owned());
3838
}
3939
buf.clear();
4040

0 commit comments

Comments
 (0)