temporarily unwind new comment handling -- I'll wait a week

This commit is contained in:
rickg%netscape.com 1999-05-04 23:45:32 +00:00
Родитель ff458779f2
Коммит dc0d842e3b
2 изменённых файлов: 4 добавлений и 4 удалений

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

@ -761,12 +761,12 @@ nsresult CCommentToken::Consume(PRUnichar aChar, nsScanner& aScanner) {
//this change is here to make the editor teams' life easier. //this change is here to make the editor teams' life easier.
//I'm removing the leading and trailing markup... //I'm removing the leading and trailing markup...
/*
if(0==mTextValue.Find("<!")) if(0==mTextValue.Find("<!"))
mTextValue.Cut(0,2); //trim off 1st 2 chars... mTextValue.Cut(0,2); //trim off 1st 2 chars...
if(kGreaterThan==mTextValue.Last()) if(kGreaterThan==mTextValue.Last())
mTextValue.Truncate(mTextValue.Length()-1); //trim off last char mTextValue.Truncate(mTextValue.Length()-1); //trim off last char
*/
return result; return result;
} }

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

@ -761,12 +761,12 @@ nsresult CCommentToken::Consume(PRUnichar aChar, nsScanner& aScanner) {
//this change is here to make the editor teams' life easier. //this change is here to make the editor teams' life easier.
//I'm removing the leading and trailing markup... //I'm removing the leading and trailing markup...
/*
if(0==mTextValue.Find("<!")) if(0==mTextValue.Find("<!"))
mTextValue.Cut(0,2); //trim off 1st 2 chars... mTextValue.Cut(0,2); //trim off 1st 2 chars...
if(kGreaterThan==mTextValue.Last()) if(kGreaterThan==mTextValue.Last())
mTextValue.Truncate(mTextValue.Length()-1); //trim off last char mTextValue.Truncate(mTextValue.Length()-1); //trim off last char
*/
return result; return result;
} }