Thread

Skip Navigation LinksForums > SpiraTeam Forums > SpiraTeam Issues & Questi... > Rich Text Fields and Repo...

Rich Text Fields and Reports displaying HTML tags RSS Feed

Friday, September 13, 2013

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
Adam SAdam S
re: Doug . on Friday, September 13, 2013
Tuesday, September 17, 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

Doug .Doug .
re: Adam S on Tuesday, September 17, 2013
Tuesday, October 8, 2013

Excellent, Thank you Adam.

-Doug

Doug .Doug .
re: Doug . on Tuesday, October 8, 2013
Tuesday, January 7, 2014

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.

Stephan I LuikStephan I Luik
re: Adam S on Tuesday, September 17, 2013
Monday, September 28, 2015
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.
Stephan I LuikStephan I Luik
re: Doug . on Tuesday, January 7, 2014
Monday, September 28, 2015
Thanks Doug. I tried it and it solved my problem with the reports.
Tagged
Statistics
  • Started: 9/13/2013
  • Last Reply: 9/28/2015
  • Replies: 5
  • Views: 1115
Powered by KronoDesk v1.1.0.15 | © Copyright Inflectra Corporation 2011-2016 | Licensed to Inflectra Corporation.