String text = stripWhitespace(style, prev, content.getText());
String text = content.getText();
    public static InlineBox createInline(Context c, TextContent content, InlineBox prev, InlineBox prev_align, int avail, int max, Font font) {        InlineBox inline = new InlineBox();        inline.content = content;        CalculatedStyle style = c.getCurrentStyle();        inline.whitespace = getWhitespace(style);                // prepare a new inline with a substring that goes        // from the end of the previous (if applicable) to the        // end of the master string        if (prev == null || prev.content != content) {            String text = stripWhitespace(style, prev, content.getText());            inline.setMasterText(text);            inline.setSubstring(0, text.length());        } else {            //grab text from the previous inline            String text = prev.getMasterText();            inline.setMasterText(text);            inline.setSubstring(prev.end_index, text.length());        }        Breaker.breakText(c, inline, prev_align, avail, max, font);        BoxBuilder.prepBox(c, inline, prev_align, font);        return inline;    }