protected static String processURL(String txt) {
        int index = txt.indexOf(" ");
        String url = txt;
        String label = txt;
        if (index != -1) {
            url = txt.substring(0, index);
            label = txt.substring(index + 1);
        }
        return "<a href=\"" + url + "\">" + label + "</a>";
    }