[reportlab-users] Bogus Character
    Tim Roberts 
    timr at probo.com
       
    Wed Sep 24 13:26:47 EDT 2008
    
    
  
Tiago Becker wrote:
> Yes, i undestood that... But i was doing something like that, but
> using .replace, and only on that bogus character (&)..
>
> Is there any other way?
No, but it shouldn't matter.  The only other way to do it would be if
ReportLab had a switch to disable the HTML handling in Paragraph.  There
is no such switch.
> Random thought: On PHP, i used a function that would solve that kinda
> of problem...
Since ReportLab doesn't run with PHP, the parallel isn't exact. 
However, if you mean using one the entity or escape functions in PHP,
those ALSO replace the suspect characters.
-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
    
    
More information about the reportlab-users
mailing list