private void breakUpText(Element e, String s) {
        String[] parts = s.split(LINEBREAK);
        for (int i = 0; i < parts.length; i++) {
            String t = parts[i].replaceAll("\\ +", " ").trim();
            t = replaceReservedCharMarkers(t);  // replace markers
            if (!t.isEmpty())
                e.appendChild(e.getOwnerDocument().createTextNode(t));
            if (i < parts.length - 1) {
                e.appendChild(e.getOwnerDocument().createElement("br"));
                e.appendChild(e.getOwnerDocument().createElement("br"));
            }
        }
    }