changed all html tags to lower case

This commit is contained in:
peterl@netscape.com
1999-02-12 06:17:06 +00:00
parent 6c8d314ee5
commit 4de84573ef
8 changed files with 82 additions and 86 deletions

View File

@@ -130,7 +130,6 @@ void CStartToken::Reinitialize(PRInt32 aTag, const nsString& aString){
PRInt32 CStartToken::GetTypeID(){
if(eHTMLTag_unknown==mTypeID) {
nsAutoString tmp(mTextValue);
tmp.ToUpperCase();
char cbuf[20];
tmp.ToCString(cbuf, sizeof(cbuf));
mTypeID = NS_TagToEnum(cbuf);
@@ -334,7 +333,6 @@ nsresult CEndToken::Consume(PRUnichar aChar, nsScanner& aScanner) {
PRInt32 CEndToken::GetTypeID(){
if(eHTMLTag_unknown==mTypeID) {
nsAutoString tmp(mTextValue);
tmp.ToUpperCase();
char cbuf[200];
tmp.ToCString(cbuf, sizeof(cbuf));
mTypeID = NS_TagToEnum(cbuf);