Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Anita Sahoo
Remove all html tags including <p> <li> and all from string
March 21, 2014 6:41 AM
Answer

Anita Sahoo

Rank: New Member

Posts: 13

Join Date: September 17, 2013

Recent Posts

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.
Anita Sahoo
RE: Remove all html tags including <p> <li> and all from string
March 24, 2014 4:28 AM
Answer

Anita Sahoo

Rank: New Member

Posts: 13

Join Date: September 17, 2013

Recent Posts

I solved it by using
message.setHTMLFormat(true);
Now its working emoticon