mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 15:52:07 +00:00
Bug #285138 --> Spellchecker doesn't skip quoted text in plain text editor anymore.
Regression caused by the inline spell check landing. r=glazman sr=bienvenu
This commit is contained in:
parent
607cd71c66
commit
7699586de9
@ -85,9 +85,10 @@ nsComposeTxtSrvFilter::Skip(nsIDOMNode* aNode, PRBool *_retval)
|
||||
*_retval = mozQuote.LowerCaseEqualsLiteral("true");
|
||||
}
|
||||
|
||||
nsAutoString className;
|
||||
if (NS_SUCCEEDED(content->GetAttr(kNameSpaceID_None, mClassAtom, className))) {
|
||||
*_retval = className.EqualsLiteral("moz-signature");
|
||||
if (!*_retval) {
|
||||
nsAutoString className;
|
||||
if (NS_SUCCEEDED(content->GetAttr(kNameSpaceID_None, mClassAtom, className)))
|
||||
*_retval = className.EqualsLiteral("moz-signature");
|
||||
}
|
||||
}
|
||||
} else if (tag == mScriptAtom ||
|
||||
|
Loading…
Reference in New Issue
Block a user