Skip to Content
0
Former Member
Nov 18, 2008 at 09:22 AM

Problem with html formatting and line breaks

45 Views

We use Cute Editor in our application to let the user format some parts of the report, ex. header and footer, some descriptions in tables. The general problem is that the text is rendered differently in the report than in Cute Editor.

One specific problem we have is that the line text longer than one line is split at the wrong place - there is still space in the first line.

We tried several thing but we were unable to get this working properly.

Is there a way to fix this?

Is there any document on how to do html formatting and reports so the text looks the same on both?

Cute Editor screenshot

http://shrani.si/f/1x/M7/2RhQWA7z/cuteeditor.png

Html output of Cute Editor

Some very simple html.

http://shrani.si/f/2N/21/33pJIUB5/html.png

<p>Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test1 Test Test Test Test Test Test</p>

<p align="right">Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test Test1 Test Test Test Test Test Test</p>

PDF output of the report

http://shrani.si/f/F/Eg/33Wwwnk6/crystalreport.png