From a88f241250fa609e63f7a09e7f2f9d76367484b9 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 2 May 2014 13:02:56 +0200 Subject: Ignore words containing only <> chars --- program/lib/Roundcube/rcube_spellchecker.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/lib/Roundcube/rcube_spellchecker.php b/program/lib/Roundcube/rcube_spellchecker.php index 5b77bda02..e9a36072d 100644 --- a/program/lib/Roundcube/rcube_spellchecker.php +++ b/program/lib/Roundcube/rcube_spellchecker.php @@ -262,7 +262,7 @@ class rcube_spellchecker public function is_exception($word) { // Contain only symbols (e.g. "+9,0", "2:2") - if (!$word || preg_match('/^[0-9@#$%^&_+~*=:;?!,.-]+$/', $word)) + if (!$word || preg_match('/^[0-9@#$%^&_+~*<>=:;?!,.-]+$/', $word)) return true; // Contain symbols (e.g. "g@@gle"), all symbols excluding separators -- cgit v1.2.3