[reportlab-users] wrap text inside table cells

Jerome Alet reportlab-users@reportlab.com
Wed, 26 Feb 2003 11:48:33 +0100


On Tue, Feb 25, 2003 at 02:31:46PM +0100, Nathalie Mansouri wrote:
> When I create a table with text that includes the <br> tags, it just 
> ignore them and adds everyhting into one line.
> Here is part of the code I use:

<br> tags are not handled by ReportLab's Platypus.

Your alternative is to use several Paragraph instances instead of 
one (one for each line break), or use a XPreformatted and use \n 
inside (untested)

bye,

Jerome Alet