mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 492751 - spell checking disabled when indenting text in HTML composition
p=me r/sr=bienvenu
This commit is contained in:
parent
d166969bc4
commit
d1dbe9867b
@ -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()))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user