[issue14786] htmlparser with tag br

2012-05-13 Thread Yugang LIU
Yugang LIU liu...@yahoo.cn added the comment: By HTML standard, it is not a bug. I will verify my code. Thanks for your reply. On 2012-05-13 0:51, Ezio Melotti wrote: Ezio Melotti ezio.melo...@gmail.com added the comment: The HTML you pasted looks valid to me -- the br element doesn't have

[issue14786] htmlparser with tag br

2012-05-13 Thread Ezio Melotti
Changes by Ezio Melotti ezio.melo...@gmail.com: -- stage: - committed/rejected status: open - closed type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue14786 ___

[issue14786] htmlparser with tag br

2012-05-12 Thread Yugang LIU
New submission from Yugang LIU liu...@yahoo.cn: Hi, I parse html source with htmlparser. I catch a tag, br, issue. my code : div 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,

[issue14786] htmlparser with tag br

2012-05-12 Thread Ezio Melotti
Ezio Melotti ezio.melo...@gmail.com added the comment: The HTML you pasted looks valid to me -- the br element doesn't have an end tag and the HTML 4.01 standard explicitly says Start tag: required, End tag: forbidden [0]. Why do you think this is a problem? [0]: