mirror of https://github.com/M66B/FairEmail.git
Fixed breaking bullets
This commit is contained in:
parent
6308069ce8
commit
e5545ca0cf
|
@ -485,8 +485,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
if (activity != null)
|
||||
activity.onUserInteraction();
|
||||
|
||||
if (before == 0 && count == 1 && start > 0 &&
|
||||
text.charAt(start) == '\n' && text.charAt(start - 1) == '\n') {
|
||||
if (before == 0 && count == 1 && start > 0 && text.charAt(start) == '\n') {
|
||||
// break block quotes
|
||||
boolean qbroken = false;
|
||||
SpannableStringBuilder ssb = new SpannableStringBuilder(text);
|
||||
|
@ -519,7 +518,7 @@ public class FragmentCompose extends FragmentBase {
|
|||
for (BulletSpan span : bullets) {
|
||||
int s = ssb.getSpanStart(span);
|
||||
int e = ssb.getSpanEnd(span);
|
||||
int f = ssb.getSpanFlags(span);
|
||||
int f = ssb.getSpanFlags(span) | Spanned.SPAN_PARAGRAPH;
|
||||
Log.i("Span " + s + "..." + e + " start=" + start);
|
||||
|
||||
if (s > 0 &&
|
||||
|
|
Loading…
Reference in New Issue