This commit is contained in:
rickg%netscape.com 1998-11-21 02:49:25 +00:00
Родитель 5be8c89cb6
Коммит 09b4bd3636
2 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -306,10 +306,10 @@ nsresult CEndToken::Consume(PRUnichar aChar, CScanner& aScanner) {
//This code was added to fix Bug#1125.
//The problem occurs in bad tags like this: </font size>.
//"font size" was being viewed as the tag, which of course doesn't exist.
//Instead, just look at the first word.
//Instead, we only look at the first word.
int theBufPos=-1;
while(buffer[++theBufPos]){
if(kSpace==buffer[theBufPos]){
if(kSpace==buffer[theBufPos]){
buffer[theBufPos]=0;
break;
}

Просмотреть файл

@ -306,10 +306,10 @@ nsresult CEndToken::Consume(PRUnichar aChar, CScanner& aScanner) {
//This code was added to fix Bug#1125.
//The problem occurs in bad tags like this: </font size>.
//"font size" was being viewed as the tag, which of course doesn't exist.
//Instead, just look at the first word.
//Instead, we only look at the first word.
int theBufPos=-1;
while(buffer[++theBufPos]){
if(kSpace==buffer[theBufPos]){
if(kSpace==buffer[theBufPos]){
buffer[theBufPos]=0;
break;
}