mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 492751 - spell checking disabled when indenting text in HTML composition
p=me r/sr=bienvenu
This commit is contained in:
parent
15ec048a67
commit
7d91aa93c0
@ -1127,10 +1127,15 @@ mozInlineSpellChecker::SkipSpellCheckForNode(nsIEditor* aEditor,
|
||||
parentElement->GetTagName(parentTagName);
|
||||
|
||||
if (parentTagName.Equals(NS_LITERAL_STRING("blockquote"), nsCaseInsensitiveStringComparator()))
|
||||
{
|
||||
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()))
|
||||
{
|
||||
nsAutoString classname;
|
||||
|
Loading…
Reference in New Issue
Block a user