fixed: in HTMLParser::CheckClosingTags() don't return immediately if stack_len is equal to 2

This commit is contained in:
2021-10-03 13:22:49 +02:00
parent 5e4c7e9929
commit 4902eb6037

View File

@@ -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;