GetUnFormattedText from Rich Text in R6

Hi All

I am trying to use GetUnFormattedText from RichText. I am using agent to display a richtext value on web.

Same code works in client. But on web it is not coming as a unformatted like TAB and Paragraph etc. It is formating and displaying on web.

Any tips or help would be appreciated.

Thanks