[Zope] Squishdot 1.1.0 (stripogram.py): HTML filtering problems

Chris Withers chrisw@nipltd.com
Fri, 18 May 2001 10:12:21 +0100


J M Cerqueira Esteves wrote:
> 
> On Tue, May 08, 2001 at 12:48:10AM +0100, Chris Withers wrote:
> >    - HTML parsing now done using the Strip-o-Gram library.
> 
>   html2safehtml ('Roses <b>are</B> red,<br/<blink>QUACK<//blink> violets '
>                  '<i>are</i> blue',
>                  valid_tags=['b','i','br'])
> 
> successfully smuggling a <blink>...</blink> inside the result:
> 
>        'Roses <b>are</b> red,<br><blink>QUACK</blink> violets <i>are</i> blue'

Okay, this is now fixed in the Squishdot CVS thanks to a very good HTMLParser
from the PythonLabs guys :-)

cheers,

Chris