How to use HTMLTextFilter.filterHTMLText() to filter HTML Tags from Formatted or Rich Text.
Requirement is in Report I want same structured Description as I have on CN :
--> I have Description on CN like :
This is New CN to make Changes in Part ,
• Do the Proper Marking on Parts
• Update the associated parts as well
--> Output I am getting after using that API is :
<p>This is New CN to make Changes in Part ,<br clear="none" />• Do the Proper Marking on Parts<br clear="none" />• Update the associated parts as well</p><p> </p>
--> For that I am using below API but it is not working as expected :
HTMLTextFilter.filterHTMLText(cn.getLongDescription().getRichText().toString(),
"com/ptc/core/richtext/jasperrichtextfilter.xsl", true, false);

