Fixed bug where &'s followed by whitespace were losing the whitespace

This commit is contained in:
kipp 1998-06-05 23:20:21 +00:00
parent 44a83c196b
commit 673f137fc2
2 changed files with 2 additions and 0 deletions

View File

@ -282,6 +282,7 @@ PRInt32 CNavDelegate::ConsumeEntity(PRUnichar aChar,CScanner& aScanner,CToken*&
else {
//oops, we're actually looking at plain text...
nsAutoString temp("&");
temp.Append(ch);
result=ConsumeText(temp,aScanner,aToken);
}
}//if

View File

@ -282,6 +282,7 @@ PRInt32 CNavDelegate::ConsumeEntity(PRUnichar aChar,CScanner& aScanner,CToken*&
else {
//oops, we're actually looking at plain text...
nsAutoString temp("&");
temp.Append(ch);
result=ConsumeText(temp,aScanner,aToken);
}
}//if