Ignore these emoticons.
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 22 Dec 2009 05:34:45 +0000 (22:34 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 22 Dec 2009 05:36:10 +0000 (22:36 -0700)
Too many false positives.

"8D" is a valid for things like, say, an apartment number.
"8)" is a string that may appear in every day usage, e.g. "There may be a
few of us attending (7 or 8)"

framework/Text_Filter/lib/Horde/Text/Filter/Emoticons.php

index e33b3c8..4fc73ea 100644 (file)
@@ -61,11 +61,11 @@ class Horde_Text_Filter_Emoticons extends Horde_Text_Filter
         ':|=' => 'vampire',
         ':-(' => 'frown', ':(' => 'frown',
         ':D' => 'biggrin', ':-D' => 'biggrin', ':d' => 'biggrin', ':-d' => 'biggrin',
-        '8)' => 'cool',
+        // '8)' => 'cool',
         // In English, 8PM occurs sufficiently often to specifically
         // search for and exclude
-        '8p(?<![Mm]\s+)' => 'cooltongue', // '8Þ' => 'cooltongue',
-        '8D' => 'coolgrin',
+        // '8p(?<![Mm]\s+)' => 'cooltongue', // '8Þ' => 'cooltongue',
+        // '8D' => 'coolgrin',
         ':p' => 'tongueout', ':P' => 'tongueout', // ':Þ' => 'tongueout',
         '?:(' => 'confused', '%-(' => 'confused',
         // ':)&' => 'love',