properties.setUseEmptyElementTags(false);
}
private String parse(String content){
StringWriter writer = new StringWriter();
HtmlSerializer ser = new HtmlSerializer(properties);
try {
TagNode html = cleaner.clean(content);
ser.writeXml(html, writer, "UTF-8");
return writer.getBuffer().toString();
} catch (IOException e) {
return null;
}
}