mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-24 15:11:03 +00:00
Revert "Skip composing spans on convert to HTML"
This reverts commit aaa17fb00e
.
This commit is contained in:
parent
aaa17fb00e
commit
5af812dadc
1 changed files with 0 additions and 6 deletions
|
@ -381,9 +381,6 @@ public class HtmlEx {
|
||||||
CharacterStyle[] style = getSpans(text, i, next, CharacterStyle.class);
|
CharacterStyle[] style = getSpans(text, i, next, CharacterStyle.class);
|
||||||
|
|
||||||
for (int j = 0; j < style.length; j++) {
|
for (int j = 0; j < style.length; j++) {
|
||||||
int flags = text.getSpanFlags(style[j]);
|
|
||||||
if ((flags & Spanned.SPAN_COMPOSING) != 0)
|
|
||||||
continue;
|
|
||||||
if (style[j] instanceof StyleSpan) {
|
if (style[j] instanceof StyleSpan) {
|
||||||
int s = ((StyleSpan) style[j]).getStyle();
|
int s = ((StyleSpan) style[j]).getStyle();
|
||||||
|
|
||||||
|
@ -484,9 +481,6 @@ public class HtmlEx {
|
||||||
withinStyle(out, text, i, next);
|
withinStyle(out, text, i, next);
|
||||||
|
|
||||||
for (int j = style.length - 1; j >= 0; j--) {
|
for (int j = style.length - 1; j >= 0; j--) {
|
||||||
int flags = text.getSpanFlags(style[j]);
|
|
||||||
if ((flags & Spanned.SPAN_COMPOSING) != 0)
|
|
||||||
continue;
|
|
||||||
if (style[j] instanceof BackgroundColorSpan && !(style[j] instanceof StyleHelper.MarkSpan)) {
|
if (style[j] instanceof BackgroundColorSpan && !(style[j] instanceof StyleHelper.MarkSpan)) {
|
||||||
out.append("</span>");
|
out.append("</span>");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue