mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 16:43:26 +02:00
Fixed truncating messages
This commit is contained in:
@@ -330,6 +330,7 @@ public class HtmlHelper {
|
||||
// Limit length
|
||||
if (truncate(parsed, true)) {
|
||||
parsed.body()
|
||||
.appendElement("br")
|
||||
.appendElement("p")
|
||||
.appendElement("em")
|
||||
.text(context.getString(R.string.title_too_large));
|
||||
@@ -1234,13 +1235,10 @@ public class HtmlHelper {
|
||||
}
|
||||
} else {
|
||||
if (skip)
|
||||
child.remove();
|
||||
tnode.text("");
|
||||
}
|
||||
|
||||
length += text.length();
|
||||
} else {
|
||||
if (skip)
|
||||
child.remove();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user