[Python-Dev] cpython (2.7): #14538: HTMLParser can now parse correctly start tags that contain a bare /.

Fred Drake fdrake at acm.org
Tue Apr 24 21:00:13 CEST 2012


On Tue, Apr 24, 2012 at 2:34 PM, Benjamin Peterson <benjamin at python.org> wrote:
> There is in the since that you can follow the HTML5 algorithm, which
> can "parse" any junk you throw at it.

This whole can of worms is why I gave up on HTML years ago (well, one
reason among many).

There are markup languages, and there's soup.


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at acm.org>
"A person who won't read has no advantage over one who can't read."
   --Samuel Langhorne Clemens


More information about the Python-Dev mailing list