boolean doWrap = config.isWrap();
//_log("print original: '" + string + "' (" + doWrap + ")");
String str = string.replaceAll("\t", tabs);
// Continue to the last text node if available
Node last = getLastTextNode();
int linesAdded = 0;
if (last != null) {
//_log("print append to old node: '" + last.getNodeValue() + "'");
str = last.getNodeValue() + str;
buffer.removeChild(last);
linesAdded--;
}
// Split by the newlines anyway