From fd9cfd9c7f7b274365813c189d1be8bc407d801a Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 19 Jan 2022 21:11:06 +0100 Subject: [PATCH] Fixed ident/newline --- app/src/main/java/eu/faircode/email/StyleHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/StyleHelper.java b/app/src/main/java/eu/faircode/email/StyleHelper.java index f2654b6dfa..c1b4d24af2 100644 --- a/app/src/main/java/eu/faircode/email/StyleHelper.java +++ b/app/src/main/java/eu/faircode/email/StyleHelper.java @@ -596,7 +596,7 @@ public class StyleHelper { edit.removeSpan(indents[0]); } else { IndentSpan is = new IndentSpan(intentSize); - edit.setSpan(is, prev, next, Spanned.SPAN_INCLUSIVE_INCLUSIVE); + edit.setSpan(is, prev, next + 1, Spanned.SPAN_INCLUSIVE_INCLUSIVE); } next++;