}
try {
Reader r = new StringReader(value);
HtmlSeamTextLexer lexer = new HtmlSeamTextLexer(r);
HtmlSeamTextParser parser = new HtmlSeamTextParser(lexer);
parser.startRule();
return parser.toString();
} catch (Exception e) {
FacesMessage message = new FacesMessage("An error occurred during conversion html to seam text",e.getMessage());
throw new ConverterException(message,e);
}