• Fred Drake's avatar
    [Old patch that hadn't been checked in.] · b46696c0
    Fred Drake yazdı
    get_starttag_text():  New method.
            Return the text of the most recently parsed start tag, from
            the '<' to the '>' or '/'.  Not really useful for structure
            processing, but requested for Web-related use.  May also be
            useful for being able to re-generate the input from the parse
            events, but there's no equivalent for end tags.
    
    attrfind:  Be a little more forgiving of unquoted attribute values.
    b46696c0
sgmllib.py 15.5 KB