fixed: in HTMLParser::CheckClosingTags() don't return immediately if stack_len is equal to 2
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user