[reportlab-users] Reportlab Platypus issue

Robin Becker robin at reportlab.com
Tue Nov 29 05:06:42 EST 2011


On 29/11/2011 06:42, Asif Jamadar wrote:

> I'm using Reportlab tool to generate PDF report. In my source code I'm using reportlab.platypus.Paragraph class which supports some of basic html tags (like<br/>,<b> <font> etc...)

>

>

>

> So my problem is using special characters with this Paragraph class with html tag<font>.

>

>

>

> Suppose I want to display the characters '<' and'>' in my report then I will use Paragraph('<font> < </font>' ), but my generated PDF report not showing those characters. Why this is happening? What is the problem here?

use &lt; &gt; etc etc. In the platypus para.py there is a list of the supported
entities.

--
Robin Becker


More information about the reportlab-users mailing list