html: Ignore tag errors
Flash stops parsing the XML in such cases, but still returns the partially-processed text.
This commit is contained in:
parent
c1404f6a3e
commit
9d87a34f25
|
@ -762,7 +762,7 @@ impl FormatSpans {
|
|||
Ok(Event::Eof) => break,
|
||||
Err(e) => {
|
||||
log::warn!("Error while parsing HTML: {}", e);
|
||||
return Default::default();
|
||||
break;
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue