Bug 492751 - spell checking disabled when indenting text in HTML composition

p=me r/sr=bienvenu
This commit is contained in:
Ian Neal 2009-08-28 01:55:08 +01:00
parent 15ec048a67
commit 7d91aa93c0

View File

@ -1128,8 +1128,13 @@ mozInlineSpellChecker::SkipSpellCheckForNode(nsIEditor* aEditor,
if (parentTagName.Equals(NS_LITERAL_STRING("blockquote"), nsCaseInsensitiveStringComparator()))
{
*checkSpelling = PR_FALSE;
break;
nsAutoString quotetype;
parentElement->GetAttribute(NS_LITERAL_STRING("type"), quotetype);
if (quotetype.Equals(NS_LITERAL_STRING("cite"), nsCaseInsensitiveStringComparator()))
{
*checkSpelling = PR_FALSE;
break;
}
}
else if (parentTagName.Equals(NS_LITERAL_STRING("pre"), nsCaseInsensitiveStringComparator()))
{