fixed in HTMLParser: sometimes a closing item left on the stack, for stack_len < 3 there was not PopStack() called
This commit is contained in:
1 parent
2cc9dd69a3
commit
5b2583b566
1 file changed
+3
@@ -1808,7 +1808,10 @@ void HTMLParser::AddForgottenTags()
|
|||||||
int i;
|
int i;
|
||||||
|
|
||||||
if( stack_len < 3 )
|
if( stack_len < 3 )
|
||||||
|
{
|
||||||
|
PopStack();
|
||||||
return;
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// we have forgotten to close some tags
|
// we have forgotten to close some tags
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user