Author motoki
Recipients motoki
Date 2017-06-11.06:36:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1497162979.35.0.759542344671.issue30629@psf.upfronthosting.co.za>
In-reply-to
Content
https://github.com/python/cpython/blob/master/Lib/html/parser.py#L415

elem is already lowercase string but call lower() for handle_endtag().

elem = match.group(1).lower() # script or style
if self.cdata_elem is not None:
    if elem != self.cdata_elem:
        self.handle_data(rawdata[i:gtpos])
        return gtpos

self.handle_endtag(elem.lower())
History
Date User Action Args
2017-06-11 06:36:19motokisetrecipients: + motoki
2017-06-11 06:36:19motokisetmessageid: <1497162979.35.0.759542344671.issue30629@psf.upfronthosting.co.za>
2017-06-11 06:36:19motokilinkissue30629 messages
2017-06-11 06:36:18motokicreate