[reportlab-users] XML Tags in Paragraph

Michael Hipp Michael at Hipp.com
Mon Jan 8 16:04:16 EST 2007


Andy Robinson wrote:

> Michael Hipp wrote:

>> Is there somewhere a list of exactly which XML/HTML tags are supported

>> in the Paragraph Flowable?

>>

>> For example, how do you do a line break? I tried <br> <br /> and \n. Any

>> help?

>>

>

> <br/> does it. Run reportab/test/test_platypus_breaking.py and look at

> the generated test_platypus_breaking.pdf - last 5 pages or so have test

> cases.

>

> The tag may have been added after version 2.0 but is in daily builds and

> subversion.


Thanks. It's not working in 2.0 so it must be later. But in the meantime
I've found that \n works in XPreformatted so I'm using that for now.

Thanks,
Michael


More information about the reportlab-users mailing list