[New-bugs-announce] [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>:


I parse html source with htmlparser. I catch a tag, br, issue. 

my code :
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>

More information about the New-bugs-announce mailing list