mirror of https://github.com/M66B/FairEmail.git
Added debug info
This commit is contained in:
parent
d867ba05ed
commit
5e02dd410d
|
@ -2176,7 +2176,12 @@ public class HtmlHelper {
|
|||
element.attr("start-index", Integer.toString(ssb.length()));
|
||||
|
||||
if (debug)
|
||||
ssb.append("[" + element.tagName() + ":" + element.attr("style") + "]");
|
||||
ssb.append("[" + element.tagName() + "/" + element.className() +
|
||||
":" + "bl=" + element.attr("x-block") +
|
||||
":" + "pa=" + element.attr("x-paragraph") +
|
||||
":" + "fo=" + element.attr("x-line-before") +
|
||||
":" + "af=" + element.attr("x-line-after") +
|
||||
":" + element.attr("style") + "]");
|
||||
} else if (node instanceof TextNode) {
|
||||
tnode = (TextNode) node;
|
||||
String text = tnode.getWholeText();
|
||||
|
|
Loading…
Reference in New Issue