html: Ignore tag errors

Flash stops parsing the XML in such cases, but still returns the
partially-processed text.
This commit is contained in:
relrelb 2021-12-17 14:49:21 +02:00 committed by relrelb
parent c1404f6a3e
commit 9d87a34f25
1 changed files with 1 additions and 1 deletions

View File

@ -762,7 +762,7 @@ impl FormatSpans {
Ok(Event::Eof) => break, Ok(Event::Eof) => break,
Err(e) => { Err(e) => {
log::warn!("Error while parsing HTML: {}", e); log::warn!("Error while parsing HTML: {}", e);
return Default::default(); break;
} }
_ => {} _ => {}
} }