-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
html.parser produces different output than documented #131535
Copy link
Copy link
Closed
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Metadata
Metadata
Assignees
Labels
3.13bugs and security fixesbugs and security fixes3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Todo
Status
Todo
When parsing >>> using html.parser, the actual output differs from the expected behavior as documented.
Run the following code:
According to the documentation, the expected output should be:
The actual output is:
Linked PRs
html.parserdocs, make examples doctests #131551