Aleksander Machniak
2014-05-02 a88f241250fa609e63f7a09e7f2f9d76367484b9
Ignore words containing only <> chars
1 files modified
2 ■■■ changed files
program/lib/Roundcube/rcube_spellchecker.php 2 ●●● patch | view | raw | blame | history
program/lib/Roundcube/rcube_spellchecker.php
@@ -262,7 +262,7 @@
    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