mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 03:45:46 +00:00
14859: make rules code smarter about identifying blockquote type=cite
This commit is contained in:
parent
15fa1e7f36
commit
fb6ea2d4ad
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user