Crystal Report – How to render HTML tags in strings

By default when a Crystal Reports parses HTML tags literally – that is, it will output the tags without rendering the HTML.

If you want remove the tags from displaying by having them rendered, that is, <p> becomes a paragraph, <strong> becomes bold, then you need to change the text type to HTML.

The steps below show how to do this.

  1. Insert the field into the report (if it hasn’t already) and right-click on it and click on ‘Format Field’
  2. In the ‘Paragraph’ tab, under ‘Text interpretation’ choose ‘HTML Text’
  3. Click ‘OK’ to save the changes
  4. The HTML will now be rendered, in the process removing the HTML tags from being displayed.

 

https://support.navigatorsoftware.co.nz/article/remove-html-tags-using-crystal-reports

Was this article helpful?

Related Articles