diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index c7cc9f049d..034cad9f89 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -1588,7 +1588,8 @@ public class HtmlHelper { else ssb.insert(i + 1, "> "); - ssb.insert(start, ssb.charAt(start) == '>' ? ">" : "> "); + if (start < ssb.length()) + ssb.insert(start, ssb.charAt(start) == '>' ? ">" : "> "); } for (BulletSpan span : ssb.getSpans(0, ssb.length(), BulletSpan.class)) {