fixed bug 5846

This commit is contained in:
rickg%netscape.com 1999-05-04 04:23:12 +00:00
parent b9155004a4
commit e1068dc18e
2 changed files with 14 additions and 0 deletions

View File

@ -1387,6 +1387,13 @@ nsresult CNavDTD::HandleEndToken(CToken* aToken) {
result=CloseContainer(theNode,theChildTag,PR_FALSE);
break;
case eHTMLTag_br:
{
CToken* theToken=(CHTMLToken*)gRecycler->CreateTokenOfType(eToken_start,eHTMLTag_br);
result=HandleStartToken(theToken);
}
break;
default:
{
//now check to see if this token should be omitted, or

View File

@ -1387,6 +1387,13 @@ nsresult CNavDTD::HandleEndToken(CToken* aToken) {
result=CloseContainer(theNode,theChildTag,PR_FALSE);
break;
case eHTMLTag_br:
{
CToken* theToken=(CHTMLToken*)gRecycler->CreateTokenOfType(eToken_start,eHTMLTag_br);
result=HandleStartToken(theToken);
}
break;
default:
{
//now check to see if this token should be omitted, or