Simplified/improved plain text

This commit is contained in:
M66B
2020-05-02 14:23:11 +02:00
parent 2d9fe076ba
commit c9dd9a664f
4 changed files with 74 additions and 97 deletions

View File

@@ -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]);