From e91f11fc78db54c8cd5c0cce669ad971294f0298 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Mon, 21 Dec 2009 22:34:45 -0700 Subject: [PATCH] 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)" --- framework/Text_Filter/lib/Horde/Text/Filter/Emoticons.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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', -- 2.11.0