Debug styles

pull/178/head
M66B 5 years ago
parent 564cc37c43
commit f637e7c3da

@ -1866,7 +1866,7 @@ public class HtmlHelper {
element = (Element) node; element = (Element) node;
element.attr("start-index", Integer.toString(ssb.length())); element.attr("start-index", Integer.toString(ssb.length()));
if (debug) if (debug)
ssb.append("[" + element.tagName() + ":" + element.attr("x-font-size-rel") + "]"); ssb.append("[" + element.tagName() + ":" + element.attr("style") + "]");
} else if (node instanceof TextNode) { } else if (node instanceof TextNode) {
tnode = (TextNode) node; tnode = (TextNode) node;
ssb.append(tnode.getWholeText()); ssb.append(tnode.getWholeText());

Loading…
Cancel
Save