From: Michael M Slusarz Date: Tue, 22 Dec 2009 05:34:45 +0000 (-0700) Subject: Ignore these emoticons. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=e91f11fc78db54c8cd5c0cce669ad971294f0298;p=horde.git Ignore these emoticons. 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)" --- diff --git a/framework/Text_Filter/lib/Horde/Text/Filter/Emoticons.php b/framework/Text_Filter/lib/Horde/Text/Filter/Emoticons.php index e33b3c8bf..4fc73eaeb 100644 --- a/framework/Text_Filter/lib/Horde/Text/Filter/Emoticons.php +++ b/framework/Text_Filter/lib/Horde/Text/Filter/Emoticons.php @@ -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(? 'cooltongue', // '8Þ' => 'cooltongue', - '8D' => 'coolgrin', + // '8p(? 'cooltongue', // '8Þ' => 'cooltongue', + // '8D' => 'coolgrin', ':p' => 'tongueout', ':P' => 'tongueout', // ':Þ' => 'tongueout', '?:(' => 'confused', '%-(' => 'confused', // ':)&' => 'love',