14859: make rules code smarter about identifying blockquote type=cite

This commit is contained in:
akkana%netscape.com 1999-09-29 20:20:31 +00:00
parent 15fa1e7f36
commit fb6ea2d4ad
2 changed files with 2 additions and 2 deletions

View File

@ -1671,7 +1671,7 @@ nsHTMLEditRules::IsMailCite(nsIDOMNode *node)
typeAttrVal.ToLowerCase();
if (NS_SUCCEEDED(res))
{
if (typeAttrVal == "cite")
if (typeAttrVal.Equals("cite", PR_TRUE, 4))
return PR_TRUE;
}
}

View File

@ -1671,7 +1671,7 @@ nsHTMLEditRules::IsMailCite(nsIDOMNode *node)
typeAttrVal.ToLowerCase();
if (NS_SUCCEEDED(res))
{
if (typeAttrVal == "cite")
if (typeAttrVal.Equals("cite", PR_TRUE, 4))
return PR_TRUE;
}
}