Message251813
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 |
|
Date |
User |
Action |
Args |
2015-09-29 02:44:39 | josh.r | set | recipients:
+ josh.r, ezio.melotti, Chenyun Yang |
2015-09-29 02:44:39 | josh.r | set | messageid: <1443494679.91.0.881147842951.issue25258@psf.upfronthosting.co.za> |
2015-09-29 02:44:39 | josh.r | link | issue25258 messages |
2015-09-29 02:44:39 | josh.r | create | |
|