Rich Text Fields and Reports displaying HTML tags

Friday, September 13, 2013 6:48:19 PM

HTML Tags are printed in the Reports when using a custom Rich Text field for incidents.

Is there a way to to print these reports so formatting is preserved or the tags aren't printed?

I can't find a good way to utilize the formatting that is necessary and to print the way it looks on the screen.

5 Replies
Tuesday, September 17, 2013 2:01:33 PM
Avatar
re: dgee on Friday, September 13, 2013 6:48:19 PM

Hi Doug

This is a known issue with rich text custom properties and reports. It will be fixed in the v4.1 release.

Regards

Adam

Tuesday, October 8, 2013 9:57:52 PM
Avatar
re: inflectra.adam on Tuesday, September 17, 2013

Excellent, Thank you Adam.

-Doug

Wednesday, January 8, 2014 12:52:07 AM
Avatar
re: dgee on Tuesday, October 8, 2013

I found a temporary work around for some of the reports.

Any where there is a Custom Field with Rich text in the xlst I can add the following attribute that will help format it correctly.

  • disable-output-escaping="yes"

For the following lines in the Reports Template to address Custom Properties with Rich Text by adding the above attribute anywhere its being called.  Note... you have to be carefull where place the spaces because it is picky.

Example:

<xsl:value-of select="Value" />

Change to:

<xsl:value-of select="Value" disable-output-escaping="yes"/>

 

This should apply to the custom fields with Rich Text format.

Monday, September 28, 2015 8:10:55 PM
Avatar
re: inflectra.adam on Tuesday, September 17, 2013
I use the 4.2 release, but the problem does not appear to be fixes. I still get the html tags verbatim instead of applied in the reports.
Monday, September 28, 2015 8:13:35 PM
Avatar
re: dgee on Tuesday, January 7, 2014
Thanks Doug. I tried it and it solved my problem with the reports.
Statistics
  • Started: Friday, September 13, 2013 6:48:19 PM
  • Last Reply: Monday, September 28, 2015 8:13:35 PM
  • Replies: 5
  • Views: 1271