private String formatLinks(String content) {
	String buf = "";
	int idx = 0;
	int aStart = 0;
	int aEnd = -4;
	while (content.indexOf("<a", idx) != -1) {
	    aStart = content.indexOf("<a", idx);
	    buf += content.substring(aEnd+4, aStart);
	    aEnd = content.indexOf("</a>", aStart);
	    
	    String link = content.substring(aStart, aEnd);

	    int linkidx = link.indexOf("href=\"");
	    String title = this.removeHtml.matcher(link).replaceAll("");
	    link = link.substring(linkidx, link.indexOf("\"", linkidx + 6)).replace("href=\"", "");

	    buf += "$u{$col[0,0,192]{$a["+ link + "]{" + title + "}}}";

	    idx = aEnd;
	}
	buf += content.substring(aEnd+4);
	return buf;
    }