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 josh.r
Recipients Chenyun Yang, ezio.melotti, josh.r
Date 2015-09-29.02:44:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1443494679.91.0.881147842951.issue25258@psf.upfronthosting.co.za>
In-reply-to
Content
The example for Parsing an element with a few attributes and a title:" in https://docs.python.org/2/library/htmlparser.html#examples demonstrates this as expected behavior, so I'm not sure it can be changed:

    >>> parser.feed('<img src="python-logo.png" alt="The Python logo">')
    Start tag: img
         attr: ('src', 'python-logo.png')
         attr: ('alt', 'The Python logo')
    >>>
    >>> parser.feed('<h1>Python</h1>')
    Start tag: h1
    Data     : Python
    End tag  : h1
History
Date User Action Args
2015-09-29 02:44:39josh.rsetrecipients: + josh.r, ezio.melotti, Chenyun Yang
2015-09-29 02:44:39josh.rsetmessageid: <1443494679.91.0.881147842951.issue25258@psf.upfronthosting.co.za>
2015-09-29 02:44:39josh.rlinkissue25258 messages
2015-09-29 02:44:39josh.rcreate