[reportlab-users] Confusing <br/> behavior

Robin Becker robin at reportlab.com
Mon Feb 19 13:03:13 EST 2007


Marek Kubica wrote:

> Hi!

>

> While I was rendering a Paragraph today, I ran into a strange behavior:

>

> Paragraph("""text one<br/>text two""", normal_style)

>

> Works correctly, whereas

>

> Paragraph("""text one<br/>text two<br/>""", normal_style)

>

> does render the text but the second line gets rendered twice.

>

> Is this intentional? I'm not completely sure whether this is a bug or

> not. I'm using today's SVN snapshot, so it is pretty much up-to-date.

>

> regards,

> Marek

.......
The latest svn version fixes this; you don't get the last line repeated and I
don't think you get the extra br either. It might appear under some strange
conditions though.
--
Robin Becker


More information about the reportlab-users mailing list