mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-03 03:19:24 +01:00
Truncate viewed text only
This commit is contained in:
@@ -78,7 +78,7 @@ public class EditTextCompose extends AppCompatEditText {
|
||||
return false;
|
||||
html = "<div>" + HtmlHelper.formatPre(text.toString()) + "</div>";
|
||||
}
|
||||
Document document = HtmlHelper.sanitize(context, html, false, false);
|
||||
Document document = HtmlHelper.sanitizeCompose(context, html, false);
|
||||
Spanned paste = HtmlHelper.fromHtml(document.html());
|
||||
|
||||
int colorPrimary = Helper.resolveColor(context, R.attr.colorPrimary);
|
||||
|
||||
Reference in New Issue
Block a user