Foros de discusión

Remove all html tags including <p> <li> and all from string

thumbnail
Anita Sahoo, modificado hace 10 años.

Remove all html tags including <p> <li> and all from string

New Member Mensajes: 13 Fecha de incorporación: 17/09/13 Mensajes recientes
Hi all,
I am retrieving text from Liferay fck editor in java
I need to remove all the html tags from that code.
I tried HtmlUtil.escape but it does not removes <p> and <li> and many other
i need to remove all can anybody plz help me
Thanks in advance.
thumbnail
Anita Sahoo, modificado hace 10 años.

RE: Remove all html tags including <p> <li> and all from string

New Member Mensajes: 13 Fecha de incorporación: 17/09/13 Mensajes recientes
I solved it by using
message.setHTMLFormat(true);
Now its working emoticon