Jsoup parse from file to reduce memory usage

This commit is contained in:
M66B
2020-02-20 10:07:01 +01:00
parent 48a5278ba0
commit 873a696a52
6 changed files with 50 additions and 13 deletions

View File

@@ -3078,8 +3078,7 @@ public class FragmentCompose extends FragmentBase {
div.appendChild(p);
// Get referenced message body
String rhtml = Helper.readText(ref.getFile(context));
Document d = JsoupEx.parse(rhtml);
Document d = JsoupEx.parse(ref.getFile(context));
// Remove signature separators
boolean remove_signatures = prefs.getBoolean("remove_signatures", false);