History for Lib/html/parser.py - python/cpython · GitHub

github.com

Tin mới

gh-153030: Fix quadratic complexity in incremental parsing in HTMLParser (GH-153031)

gh-153030: Fix quadratic complexity in incremental parsing in HTMLParser (GH-153031)

gh-135661: Fix abrupt closing of empty comment in HTMLParser (GH-153007)

gh-135661: Fix abrupt closing of empty comment in HTMLParser (GH-153007)

gh-140875: Fix handling of unclosed charrefs before EOF in HTMLParser (GH-140904)

gh-140875: Fix handling of unclosed charrefs before EOF in HTMLParser (GH-140904)

gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-137837)

gh-137836: Support more RAWTEXT and PLAINTEXT elements in HTMLParser (GH-137837)

gh-135661: Fix parsing unterminated bogus comments in HTMLParser (GH-137873)

gh-135661: Fix parsing unterminated bogus comments in HTMLParser (GH-137873)

gh-135661: Fix CDATA section parsing in HTMLParser (GH-135665)

gh-135661: Fix CDATA section parsing in HTMLParser (GH-135665)

gh-118350: Fix support of elements "textarea" and "title" in HTMLParser (#135310)

gh-118350: Fix support of elements "textarea" and "title" in HTMLParser (#135310)

gh-135661: Fix parsing attributes with whitespaces around the "=" separator in HTMLParser (GH-136908)

gh-135661: Fix parsing attributes with whitespaces around the "=" separator in HTMLParser (GH-136908)

gh-102555: Fix comment parsing in HTMLParser according to the HTML5 standard (GH-135664)

gh-102555: Fix comment parsing in HTMLParser according to the HTML5 standard (GH-135664)

gh-135661: Fix parsing start and end tags in HTMLParser according to the HTML5 standard (GH-135930)

gh-135661: Fix parsing start and end tags in HTMLParser according to the HTML5 standard (GH-135930)

gh-135462: Fix quadratic complexity in processing special input in HTMLParser (GH-135464)

gh-135462: Fix quadratic complexity in processing special input in HTMLParser (GH-135464)

gh-86155: Fix data loss after unclosed script or style tag in HTMLParser (GH-22658)

gh-86155: Fix data loss after unclosed script or style tag in HTMLParser (GH-22658)

gh-77057: Fix handling of invalid markup declarations in HTMLParser (GH-9295)

gh-77057: Fix handling of invalid markup declarations in HTMLParser (GH-9295)

gh-69426: HTMLParser: only unescape properly terminated character entities in attribute values (GH-95215)

gh-69426: HTMLParser: only unescape properly terminated character entities in attribute values (GH-95215)

gh-95813: Improve HTMLParser from the view of inheritance (#95874)

gh-95813: Improve HTMLParser from the view of inheritance (#95874)

bpo-45421: Remove dead code from html.parser (GH-28847)

bpo-45421: Remove dead code from html.parser (GH-28847)

Fix typos in the Lib directory (GH-28775)

Fix typos in the Lib directory (GH-28775)

bpo-41748: Handles unquoted attributes with commas (#24072)

bpo-41748: Handles unquoted attributes with commas (#24072)

bpo-37328: remove deprecated HTMLParser.unescape (GH-14186)

bpo-37328: remove deprecated HTMLParser.unescape (GH-14186)

bpo-30629: Remove second call of str.lower() in html.parser.parse_endtag. (#2099)

bpo-30629: Remove second call of str.lower() in html.parser.parse_endtag. (#2099)

Revert "Fixed a typo in the HTMLParser.feed docstrings" (#1771)

Revert "Fixed a typo in the HTMLParser.feed docstrings" (#1771)

Fixed a typo in the HTMLParser.feed docstrings. The docstring started with an 'r', like a rawstring. (#1759)

Fixed a typo in the HTMLParser.feed docstrings. The docstring started with an 'r', like a rawstring. (#1759)

#27364: fix "incorrect" uses of escape character in the stdlib.

#27364: fix "incorrect" uses of escape character in the stdlib.

Issue #27076: Doc, comment and tests spelling fixes

Issue #27076: Doc, comment and tests spelling fixes

#23144: merge with 3.4.

#23144: Make sure that HTMLParser.feed() returns all the data, even when convert_charrefs is True.

#21047: set the default value for the *convert_charrefs* argument of HTMLParser to True. Patch by Berker Peksag.

#15114: the strict mode and argument of HTMLParser, HTMLParser.error, and the HTMLParserError exception have been removed.

#20288: merge with 3.3.

#20288: fix handling of invalid numeric charrefs in HTMLParser.

#13633: Added a new convert_charrefs keyword arg to HTMLParser that, when True, automatically converts all character references.

#19688: add back and deprecate the internal HTMLParser.unescape() method.

#2927: Added the unescape() function to the html module.

#19480: merge with 3.3.

#19480: HTMLParser now accepts all valid start-tag names as defined by the HTML5 standard.