HTML Text Not Display Properly in JS Viewer

Stimulsoft Ultimate discussion
Post Reply
Togo
Posts: 58
Joined: Wed Jun 19, 2013 4:34 am

HTML Text Not Display Properly in JS Viewer

Post by Togo »

Hi,

I am trying to show some HTML text on the report.

When view in the Flash Viewer, it is showing correctly with font colors, line breaks and background color.
FlashViewer
FlashViewer
ScreenHunter 07.png (1.46 KiB) Viewed 1186 times
But when viewer in HTML Viewer, font colors and line breaks cannot be shown. Only the background color is still there.
HTMLViewer
HTMLViewer
ScreenHunter 08.png (1.59 KiB) Viewed 1186 times
The HTML code for the text are as follows:
<p align="left"><font color="#ff6666"><font style="background-color: rgb(255, 255, 255);">TESTING LINE 1</font></font></p>
<p align="left"><font color="#ff6666" style="background-color: rgb(255, 255, 0);">TESTING LINE 2</font></p>

May I know the above issue can be fixed in HTML Viewer or not? Thank you very much.
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Re: HTML Text Not Display Properly in JS Viewer

Post by Edward »

Hi Togo,

For great compatibility between different technologies as well as for providing good export results, we removed the 'block' type tags rendering, such as <p> and <div>, so they are not supported at the moment.

At the moment only a very limited range of HTML tags are supported.
Please check the list of supported HTML tags and their usage here: https://www.stimulsoft.com/en/documenta ... l_tags.htm
And there are some more details on the reasons behind of that is here:
viewtopic.php?f=13&t=55897&start=10

Thank you,
Edward
Post Reply