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:
scott%scott-macgregor.org 2005-04-05 20:53:07 +00:00
parent 607cd71c66
commit 7699586de9

View File

@ -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 ||