Project: Birt
Bug 238720 It isn't possible to put a html comment into the report using a text element
Reported: 2008-06-27 03:37:04 | Status: resolved fixed

I need the following conditional comment at the beginning of the generated report (ideally within the header): <!--[if IE]><style type="text/css">img {margin-bottom: -3pt;}</style><![endif]--> Jason suggested to use a text element. The result was: - Design file entry: <text id="1265"> <property name="contentType">html</property> <text-property name="content"><![CDATA[<!--[if IE]><style type="text/css">img {margin-bottom: -3pt;}</style><![endif]-->]]></text-property> </text> - Created entry in the html report: <div></div> I don't know a way to put the html comment without transformation into the content.

Files changed in fix:
engine/org.eclipse.birt.report.engine.emitter.html.tests/test/org/eclipse/birt/report/engine/emitter/html/CommentsTest.java engine/org.eclipse.birt.report.engine.emitter.html/src/org/eclipse/birt/report/engine/emitter/html/HTMLReportEmitter.java engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/HTMLTextParser.java