toConvert=toConvert.replaceAll("<BR/>", "|*|");
toConvert=toConvert.replaceAll("<br>", "|*|");
toConvert=toConvert.replaceAll("<br/>", "|*|");
StringReader stringReader=new StringReader(toConvert);
buffer = new StringBuffer();
ParserDelegator delegator = new ParserDelegator();
// the third parameter is TRUE to ignore charset directive
delegator.parse(stringReader, this, Boolean.FALSE);
stringReader.close();
logger.debug("OUT");
}