Question
Virtusa
AU
Last activity: 15 Apr 2020 6:40 EDT
retrieving the content without html tags
All,
I'm using Pega 7.2.2 and in one of our applications we have a Rich Text Editor (RTE) where the user can provide his comments, paste some images etc. and this a text property stored in BLOB. It gets stored with html tags and when these comments are displayed as part of the case notes, it displays the comments with html tags with it. Ex-
<p style="text-align:justify;"><strong><span><span style="font-size:9.5pt;">Topic:</span></span></strong> </p>
I tried using pzUnescapeHTMLSpecialChars() to get rid of the html tags but it didn't work (attached screenshots). Does anyone have any better idea to tackle this?
Cheers
***Moderator Edit: Vidyaranjan | Updated Categories***