Issue 14786: htmlparser with tag br (original) (raw)

Hi,

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

my code :

aaaa
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, '
', it set htmlparser parameter, strict, to 'False', it can't help me also.

Please help fix it. Thanks.