diff options
author | Aleksander Machniak <alec@alec.pl> | 2014-05-02 13:02:56 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2014-05-02 13:02:56 +0200 |
commit | 3e49064dcfe10ea03fe8892143aba56b4ce1321f (patch) | |
tree | 9642ae9aa218a16a8b46f8211ac247731092dee6 /program | |
parent | c51ba01bf2f90e815dfb5b13b1db243dfc12b0b7 (diff) |
Ignore words containing only <> chars
Diffstat (limited to 'program')
-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 |