mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 10:03:51 +02:00
Fixed empty span orphans
This commit is contained in:
@@ -692,7 +692,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
for (ParagraphStyle p : ps) {
|
||||
int start = text.getSpanStart(p);
|
||||
int end = text.getSpanEnd(p);
|
||||
if (start == removed && end == removed + 1)
|
||||
if (start >= removed && end <= removed + 1)
|
||||
text.removeSpan(p);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user