Problem with Crystal Reports while interpreting HTML
We have an Ajax HTML Editor which is used by admin of our application to input some formatted text. Normal users can print this data in pdf format and Crystal reports (version: 13.0.2000.0) is used to generate this pdf report. We found out that in the generated report some of the html tags are not interpreted properly. Please find below some of these html tags which are not interpreted:
<span style="font-weight: bold">This should be Bold</span>
<span style="font-style: italic">This should be Italic</span>
<span style="text-decoration: underline">This should be underlined</span>
Some bullets are also not interpreted.
When we created a sample project, we also found out that once we remove the spacing between the attribute name and value in style tag, it is interpreted fine. Even the tags <b>, <i>, <u> are interpreted properly.
As we dont have any control on the html code generated by the editor, we cannot alter the above <span> and <br> tags to the ones that work fine & we cannot change even the editor at this point of time. So please let us know what needs to be done, for crystal reports to interpret the above listed tags properly. Is this bug fixed in latest versions ?
This is a very crucial functionality in the application and please help us in resolving it at the earliest possible.
Ludek Uher replied
It may be a good idea to post to that Space. One thing I'd like you to check out is the following KBAs re supported HTML tags:
One thing to note in the above:
ul ( bulleted list ) Important Note: The bullet will not show up as a regular size bullet, but as a small dot.