fixed: in HTMLParser::CheckClosingTags() don't return immediately if stack_len is equal to 2
parent
5e4c7e9929
commit
4902eb6037
|
@ -1894,7 +1894,7 @@ void HTMLParser::CheckClosingTags()
|
|||
// on the stack we have only opening tags
|
||||
// but only the last tag is a closing tag
|
||||
|
||||
if( stack_len < 3 )
|
||||
if( stack_len == 1 )
|
||||
{
|
||||
PopStack();
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue