String whitespace = getWhitespace(c, node);
String whitespace = getWhitespace(style);
    public String stripWhitespace(Context c, Node node, InlineBox prev, String text) {        String whitespace = getWhitespace(c, node);        //u.p("stripWhitespace: text = -" + text + "-");        //u.p("whitespace = " + whitespace);                // do step 1        if (whitespace.equals("normal") ||                whitespace.equals("nowrap") ||                whitespace.equals("pre-line")) {            text = linefeed_space_collapse.matcher(text).replaceAll(SPACE);        }        //u.p("step 1 = \"" + text + "\"");                // do step 2        // pull out pre's for breaking        // still not sure here                // do step 3        // convert line feeds to spaces        if (whitespace.equals("normal") ||                whitespace.equals("nowrap")) {            text = linefeed_to_space.matcher(text).replaceAll(SPACE);        }        //u.p("step 3 = \"" + text +"\"");                // do step 4        if (whitespace.equals("normal") ||                whitespace.equals("nowrap") ||                whitespace.equals("pre-line")) {            text = tab_to_space.matcher(text).replaceAll(SPACE);            //u.p("step 4.1 = \"" + text + "\"");            text = space_collapse.matcher(text).replaceAll(SPACE);            //u.p("step 4.2 = \"" + text + "\"");            // collapse first space against prev inline            if (text.startsWith(SPACE) &&                    (prev != null) &&                    (prev.whitespace.equals("normal") ||                    prev.whitespace.equals("nowrap") ||                    prev.whitespace.equals("pre-line")) &&                    (prev.getSubstring().endsWith(SPACE))) {                text = text.substring(1, text.length());            }            //u.p("step 4.3 = \"" + text + "\"");        }        //u.p("final text = \"" + text + "\"");        return text;    }