From d77f7ebdcfad6db76b427e8577398ce564f477f1 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 6 May 2020 22:28:39 +0200 Subject: [PATCH] Increase max formatted message size to 200 KB --- app/src/main/java/eu/faircode/email/HtmlHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/HtmlHelper.java b/app/src/main/java/eu/faircode/email/HtmlHelper.java index b3fe82ace7..51760118e8 100644 --- a/app/src/main/java/eu/faircode/email/HtmlHelper.java +++ b/app/src/main/java/eu/faircode/email/HtmlHelper.java @@ -127,7 +127,7 @@ public class HtmlHelper { private static final int TAB_SIZE = 2; private static final int MAX_ALT = 250; private static final int MAX_AUTO_LINK = 250; - private static final int MAX_FORMAT_TEXT_SIZE = 50 * 1024; // characters + private static final int MAX_FORMAT_TEXT_SIZE = 200 * 1024; // characters private static final int MAX_FULL_TEXT_SIZE = 1024 * 1024; // characters private static final int TRACKING_PIXEL_SURFACE = 25; // pixels private static final float[] HEADING_SIZES = {1.5f, 1.4f, 1.3f, 1.2f, 1.1f, 1f};