Message378101
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. |
|
Date |
User |
Action |
Args |
2020-10-06 09:02:38 | dan | set | recipients:
+ dan |
2020-10-06 09:02:38 | dan | set | messageid: <1601974958.88.0.650741746715.issue41956@roundup.psfhosted.org> |
2020-10-06 09:02:38 | dan | link | issue41956 messages |
2020-10-06 09:02:38 | dan | create | |
|