mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 11:28:41 +01:00
Prevent crash
This commit is contained in:
@@ -290,7 +290,8 @@ public class HtmlHelper {
|
||||
if (e.isBlock() && !e.hasText() && e.select("img").size() == 0)
|
||||
e.remove();
|
||||
|
||||
return document.body().html();
|
||||
Element body = document.body();
|
||||
return (body == null ? "" : body.html());
|
||||
}
|
||||
|
||||
static Drawable decodeImage(String source, Context context, long id, boolean show) {
|
||||
|
||||
Reference in New Issue
Block a user