summaryrefslogtreecommitdiff
path: root/program/lib
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2014-05-02 13:02:56 +0200
committerAleksander Machniak <alec@alec.pl>2014-05-02 13:02:56 +0200
commit3e49064dcfe10ea03fe8892143aba56b4ce1321f (patch)
tree9642ae9aa218a16a8b46f8211ac247731092dee6 /program/lib
parentc51ba01bf2f90e815dfb5b13b1db243dfc12b0b7 (diff)
Ignore words containing only <> chars
Diffstat (limited to 'program/lib')
-rw-r--r--program/lib/Roundcube/rcube_spellchecker.php2
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