fixed: in HTMLParser::CheckClosingTags() don't return immediately if stack_len is equal to 2
This commit is contained in:
1 parent
5e4c7e9929
commit
4902eb6037
1 file changed
+1
-1
@@ -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