Home
Analytics
Rendering of <br> in HTML-Tables
Nirvana
There is a problem with the
tag in the report design when it is rendered in IE.
We have a dynamic column header with multiple lines separated by
.
The emitter generates valid XHTML:
</br>.
In IE this is transformed to
. So now we have two lines, but we want only one. In FireFox it works as expected.
It is the same when we use <br/> instaed of
.
Could the BIRT - Team provide a solution for this?
Find more posts tagged with
Comments
mwilliams
Hi Nirvana,
What versions of IE, FF, and BIRT did you use?
Nirvana
Hi Michael,
We used IE6, IE7 and FF 2.0 and BIRT 2.3.0.
FF is ok.
It does not matter if I use the HTML-Tag
or the XHTML Tag <br/>
The formula in the table header is like this:
<VALUE-OF format="html">
var headerText = javaObject.getBusinessInfo()+"
"+javaObject.getOtherBusinessInfo()+"
" +
"moreInfos";
headerText;
</VALUE-OF>
Regards Bernd
mwilliams
Bernd,<br />
<br />
It looks fine in the designer and FF, but not IE? You could search the bugs at <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/reportabug.php'>BIRT
: Reporting Bugs and Requesting Enhancements</a>, and see if you find anything about this issue. If not, you could report a bug and see what they say. It almost sounds like an IE problem though.
Nirvana
Thanks for your hint Michael.
It is a bug (242896) which is resolved in release 2.3.1
Bernd