html: Don't check end names
Flash permits mismatched closing tags (e.g. `<mytag></different_tag>`), so turn-off this check.
This commit is contained in:
parent
5d81a0ce64
commit
7e20543578
|
@ -583,6 +583,7 @@ impl FormatSpans {
|
|||
};
|
||||
|
||||
let mut reader = Reader::from_reader(&raw_bytes[..]);
|
||||
reader.check_end_names(false);
|
||||
let mut buf = Vec::new();
|
||||
loop {
|
||||
match reader.read_event(&mut buf) {
|
||||
|
|
Loading…
Reference in New Issue