fixed bug in form -- form flag was never being set to true
This commit is contained in:
@@ -1219,6 +1219,8 @@ PRInt32 nsHTMLParser::OpenForm(const nsIParserNode& aNode){
|
||||
if(mHasOpenForm)
|
||||
CloseForm(aNode);
|
||||
PRInt32 result=mSink->OpenForm(aNode);
|
||||
if(kNoError==result)
|
||||
mHasOpenForm=PR_TRUE;
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user