Small html improvements

This commit is contained in:
M66B
2021-07-07 19:03:20 +02:00
parent a303a6f685
commit 2cb7edcf32

View File

@@ -2292,7 +2292,7 @@ public class HtmlHelper {
public FilterResult tail(Node node, int depth) {
return FilterResult.CONTINUE;
}
}, d);
}, d.body());
Log.i("Message size=" + length[0]);
return (length[0] > max);
@@ -2303,7 +2303,7 @@ public class HtmlHelper {
for (String t : texts)
condition.put(t, false);
for (Element elm : d.select("*"))
for (Element elm : d.body().select("*"))
for (Node child : elm.childNodes()) {
if (child instanceof TextNode) {
TextNode tnode = ((TextNode) child);