From 5ffb6ae43f54b2be57b48b5ec76486a19a52e50c Mon Sep 17 00:00:00 2001 From: M66B Date: Sun, 26 Apr 2020 18:13:14 +0200 Subject: [PATCH] Fixed crash --- app/src/main/java/eu/faircode/email/HtmlHelper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index 298fb8c641..de802b4596 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -2019,6 +2019,8 @@ public class HtmlHelper { String[] params = style.split(";"); for (String param : params) { int semi = param.indexOf(":"); + if (semi < 0) + continue; String key = param.substring(0, semi); String value = param.substring(semi + 1); switch (key) {