mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 22:56:33 +02:00
Paragraph alignment
This commit is contained in:
@@ -2322,7 +2322,9 @@ public class HtmlHelper {
|
||||
int s = start.get(spans[i]);
|
||||
int e = end.get(spans[i]);
|
||||
int f = flags.get(spans[i]);
|
||||
if (spans[i] instanceof BulletSpan || spans[i] instanceof NumberSpan)
|
||||
if (spans[i] instanceof AlignmentSpan ||
|
||||
spans[i] instanceof BulletSpan ||
|
||||
spans[i] instanceof NumberSpan)
|
||||
if (s > 1 && ssb.charAt(s - 1) == '\n' &&
|
||||
e > 1 && ssb.charAt(e - 1) == '\n')
|
||||
f |= Spanned.SPAN_PARAGRAPH;
|
||||
|
||||
Reference in New Issue
Block a user