New submission from Guido Reina:
In the file: Lib/_markupbase.py, function: "_parse_doctype_element" there is:
if '>' in rawdata[j:]:
return rawdata.find(">", j) + 1
rawdata[j:] is being scanned twice.
It would be better to do:
pos = rawdata.find(&quo
Guido Reina added the comment:
I am attaching a .tgz file with the tests I have performed.
The .tgz file contains also a README.txt file with more detailed information.
I have done the following test:
The script loads the HTML file 'search.html' in 'rawdata' and searches