Rich Text Fields and Reports displaying HTML tags

Friday, September 13, 2013
Avatar

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
Avatar
re: dgee Friday, September 13, 2013

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
Avatar
re: inflectra.david Tuesday, September 17, 2013

Excellent, Thank you Adam.

-Doug

Wednesday, January 8, 2014
Avatar
re: dgee 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
Avatar
re: inflectra.david 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
Avatar
re: dgee Tuesday, January 7, 2014
Thanks Doug. I tried it and it solved my problem with the reports.

Spira Helps You Deliver Quality Software, Faster and With Lower Risk

And if you have any questions, please email or call us at +1 (202) 558-6885

 

Statistics
  • Started: Friday, September 13, 2013
  • Last Reply: Monday, February 12, 2024
  • Replies: 5
  • Views: 4175