1272676 - Not all the standard HTML tags are interpreted in Crystal Reports when using HTML Text Interpretation

SAP Knowledge Base Article - Public

1272676 - Not all the standard HTML tags are interpreted in Crystal Reports when using HTML Text Interpretation

Symptom

  • HTML tags not working in Crystal Reports.
  • Not all HTML tags works when formatting an object using the HTML Text Interpretation in Crystal Reports.
  • HTML tags like: <table>, <a>,... are not interpreted when formatting an object to use HTML Text Interpretation.

Environment

  • SAP Crystal Reports 2008
  • SAP Crystal Reports 2011
  • SAP Crystal Reports 2013
  • SAP Crystal Reports 2016
          
  • SAP Crystal Reports for Enterprise 4.0
  • SAP Crystal Reports for Enterprise 4.1
  • SAP Crystal Reports for Enterprise 4.2

Reproducing the Issue

  1. In Crystal Reports, create a report off any data source.
       
  2. Insert a formula or database fields that contains HTML on a report that contains tags like: <table>,<a>,...
       
  3. Format the object to use: HTML Text Interpretation
    1. Right click on the object and select Format Field
    2. In the Format Editor window, under the tab Paragraph, set the Text Interpretation option to: HTML Text
    3. Click OK
          
  4. When previewing the report noticed the information displayed is not in the expected format.

Cause

  • Crystal Reports HTML Text Interpretation formatting option does not support all standard HTML tags.
  • The HTML Text Interpretation option is designed to support HTML tags to format text only.

Resolution

Keywords

HTML, HTML tags, Crystal Reports, CR, HTML Text Interpretation , KBA , BI-RA-CR , Crystal Reports designer or BusinessViews Manager , Problem

Product

Crystal Reports 2008 V0 ; Crystal Reports 2008 V1 ; SAP Crystal Reports 2011 ; SAP Crystal Reports 2013 ; SAP Crystal Reports 2016