mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-06 00:53:26 +02:00
Simplified/improved plain text
This commit is contained in:
@@ -947,7 +947,7 @@ public class FragmentCompose extends FragmentBase {
|
||||
|
||||
Document document = JsoupEx.parse(body);
|
||||
if (plain) {
|
||||
String text = HtmlHelper.getText(ref.outerHtml());
|
||||
String text = HtmlHelper.getText(context, ref.outerHtml());
|
||||
String[] line = text.split("\\r?\\n");
|
||||
for (int i = 0; i < line.length; i++)
|
||||
line[i] = Html.escapeHtml(line[i]);
|
||||
|
||||
Reference in New Issue
Block a user