BIRT report shows HTML tags in the WI summary
I have a report developed which displays the HTML tags in the Work Item Summary area.
If the work item summary contains 'The "sample.pdf" file' then my report displays the work item summary as 'The "sample.pdf"&nbsp' which looks odd in display text.
It adds html tags for quotes and spaces etc..
But my equivalent query returns normal text as expected. I would like my report also display the normal text. How can i change it?
If the work item summary contains 'The "sample.pdf" file' then my report displays the work item summary as 'The "sample.pdf"&nbsp' which looks odd in display text.
It adds html tags for quotes and spaces etc..
But my equivalent query returns normal text as expected. I would like my report also display the normal text. How can i change it?
9 answers
We also get html tags and & showing up in our raw data. This happens mostly when people copy paste from Excel or Word into a string or html field. Description is a common built in attribute, but we also have many custom Attributes of type String or HTML. What we have done is used Dynamic Text. This defaults to a Content Type of HTML. Then we bind the data set and subsequent value to the Dynamic Text. The advantage of this technique is that the data renders in the report exactly like it does in the browser UI.