Skip Navigation LinksHome Page > Forums > SpiraTeam Forums > SpiraTeam Issues & Qu... > Rich Text Fields and Repo...
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.
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
Excellent, Thank you Adam.
-Doug
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.
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.
And if you have any questions, please email or call us at +1 (202) 558-6885