mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-14 21:13:37 +02:00
Small improvement
This commit is contained in:
@@ -2565,7 +2565,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
if (debug) {
|
||||
Document format = Jsoup.parse(html);
|
||||
format.outputSettings().prettyPrint(true).outline(true).indentAmount(1);
|
||||
String[] lines = format.outerHtml().split("\\r?\\n");
|
||||
String[] lines = format.html().split("\\r?\\n");
|
||||
for (int i = 0; i < lines.length; i++)
|
||||
lines[i] = Html.escapeHtml(lines[i]);
|
||||
html += "<pre>" + TextUtils.join("<br>", lines) + "</pre>";
|
||||
|
||||
@@ -907,7 +907,7 @@ public class HtmlHelper {
|
||||
}
|
||||
}
|
||||
|
||||
return doc.outerHtml();
|
||||
return doc.html();
|
||||
}
|
||||
|
||||
public static class AnnotatedSource {
|
||||
|
||||
Reference in New Issue
Block a user