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++;