A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-April/119013.html below:

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

[Python-Dev] cpython (2.7): #14538: HTMLParser can now parse correctly start tags that contain a bare /. [Python-Dev] cpython (2.7): #14538: HTMLParser can now parse correctly start tags that contain a bare /.Benjamin Peterson benjamin at python.org
Tue Apr 24 20:34:55 CEST 2012
2012/4/24 Georg Brandl <g.brandl at gmx.net>:
> On 19.04.2012 03:36, ezio.melotti wrote:
>> http://hg.python.org/cpython/rev/36c901fcfcda
>> changeset:   76413:36c901fcfcda
>> branch:      2.7
>> user:        Ezio Melotti <ezio.melotti at gmail.com>
>> date:        Wed Apr 18 19:08:41 2012 -0600
>> summary:
>>   #14538: HTMLParser can now parse correctly start tags that contain a bare /.
>
>> diff --git a/Misc/NEWS b/Misc/NEWS
>> --- a/Misc/NEWS
>> +++ b/Misc/NEWS
>> @@ -50,6 +50,9 @@
>>  Library
>>  -------
>>
>> +- Issue #14538: HTMLParser can now parse correctly start tags that contain
>> +  a bare '/'.
>> +
>
> I think that's misleading: there's no way to "correctly" parse malformed HTML.

There is in the since that you can follow the HTML5 algorithm, which
can "parse" any junk you throw at it.



-- 
Regards,
Benjamin
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4