[reportlab-users] Does <br /> not work in Paragraphs?
Tim Roberts
timr at probo.com
Thu Jul 2 16:44:14 EDT 2009
Michael Hipp wrote:
> ...
> The above code just wraps the lines of the address as if the <br/>
> wasn't there. Am I doing something wrong or is <br> <br>oken?
Well, it's hard to say that it's "broken". It was never in there to
begin with.
The Platypus HTML parser only understands <b>, <strong>, <i>, <em>, <u>,
<link>, <super>, <sub>, <font>, <bullet>, <greek>, <para>, <unichar>,
and <onDraw>. The code in paraparser.py.
I don't think it would be rocket science to add <br>, since the thing
returns a list of line fragments.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the reportlab-users
mailing list