[ZPT] [BUG & PATCH] Parse restarts for incomplete entity reference

Chris Withers chrisw@nipltd.com
Mon, 10 Sep 2001 10:09:22 +0100


Dieter Maurer wrote:
> 
> When ZPT's (version 1.4) HTML parser finds an incomplete entity (or character)
> reference, it restarts parsing at the start.

This is a bug in HTMLParser.py which is probably screwing up whatever is using
it, I had the same thing with Strip-o-Gram. Updating that file to the latest one
from the python CVS repository on SourceForge shoudl fix the problem...

> <p>a & b</p>

...or you could just change that to :
<p>a &amp; b</p>

cheers,

Chris