mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 11:28:41 +01:00
Added text alignment
This commit is contained in:
@@ -170,7 +170,7 @@ public class HtmlEx {
|
||||
// Only use the last AlignmentSpan with flag SPAN_PARAGRAPH
|
||||
for (int i = alignmentSpans.length - 1; i >= 0; i--) {
|
||||
AlignmentSpan s = alignmentSpans[i];
|
||||
if ((text.getSpanFlags(s) & Spanned.SPAN_PARAGRAPH) == Spanned.SPAN_PARAGRAPH) {
|
||||
if ((text.getSpanFlags(s) & Spanned.SPAN_PARAGRAPH) == Spanned.SPAN_PARAGRAPH || true) {
|
||||
final Layout.Alignment alignment = s.getAlignment();
|
||||
if (alignment == Layout.Alignment.ALIGN_NORMAL) {
|
||||
textAlign = "text-align:start;";
|
||||
|
||||
Reference in New Issue
Block a user