[reportlab-users] Symbol < crashes platypus Paragraph text
John Pywtorak
jpywtora at calpoly.edu
Tue Apr 12 21:10:46 EDT 2005
On Tuesday 12 April 2005 06:07 pm, george wrote:
> P(""" a \< b might work """)
The above is invalid since reportlab allows some markup in paragraphs. You
need to escape it with "<" The three killers are <,>,&
python's string.relpace can handle it for you.
def escape(text):
text = text.replace('&', '&')
text = text.replace('<', '<')
return text.replace('>', '>')
Johnny P
--
Windows
Start Here
Frustrating Hanging Crashing
Blue Screen of Death
Reboot
More information about the reportlab-users
mailing list