[issue14786] htmlparser with tag br
Yugang LIU
report at bugs.python.org
Sat May 12 10:10:08 CEST 2012
New submission from Yugang LIU <liuyug at yahoo.cn>:
Hi,
I parse html source with htmlparser. I catch a tag, br, issue.
my code :
<div>
aaaa<br>
</div>
parse result:
begin tag: div
begin tag: br
end tag: div
So I can't find end tag of 'br'. I know it is invalid text, '<br>', it set htmlparser parameter, strict, to 'False', it can't help me also.
Please help fix it. Thanks.
----------
components: None
messages: 160463
nosy: liuyug
priority: normal
severity: normal
status: open
title: htmlparser with tag br
versions: Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14786>
_______________________________________
More information about the Python-bugs-list
mailing list