diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-05-02 13:02:56 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-05-02 19:38:20 +0200 |
commit | a88f241250fa609e63f7a09e7f2f9d76367484b9 (patch) | |
tree | 66a1f8ddd1760ac9e336bb80a1cbaac3ecbc4af5 | |
parent | b5beb1888f19a5982e59db5c8a8c41550577c7c4 (diff) |
Ignore words containing only <> chars
-rw-r--r-- | program/lib/Roundcube/rcube_spellchecker.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 |