Browse Source

fixed in HTMLParser: sometimes a closing item left on the stack, for stack_len < 3 there was not PopStack() called

htmlparserlistener
Tomasz Sowa 1 year ago
parent
commit
5b2583b566
  1. 3
      src/html/htmlparser.cpp

3
src/html/htmlparser.cpp

@ -1808,7 +1808,10 @@ void HTMLParser::AddForgottenTags()
int i;
if( stack_len < 3 )
{
PopStack();
return;
}
// we have forgotten to close some tags

Loading…
Cancel
Save