This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dan
Recipients dan
Date 2020-10-06.09:02:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601974958.88.0.650741746715.issue41956@roundup.psfhosted.org>
In-reply-to
Content
The attached HTML document (pulled from a Samsung printer web interface) contains the following invalid HTML tag:
<img style="vertical-align:bottom;" ,="" src="images/sws/icon_alert_warning_16.gif" title="Warning">
(invalid because of ,="")
In Python 3.x completely stops the HTML parser, preventing any further tags from being parsed. This does not happen in Python 2.x
See the attached Python script, which counts the number of "input" tags. When executed using Python 2.7, it correctly counts 4 such tags. When executed using Python 3.8 it only finds 1.
History
Date User Action Args
2020-10-06 09:02:38dansetrecipients: + dan
2020-10-06 09:02:38dansetmessageid: <1601974958.88.0.650741746715.issue41956@roundup.psfhosted.org>
2020-10-06 09:02:38danlinkissue41956 messages
2020-10-06 09:02:38dancreate