From 8d84f2a557d9fc7b838714398a90db0f291250a9 Mon Sep 17 00:00:00 2001 From: loma-one <44441246+loma-one@users.noreply.github.com> Date: Wed, 8 Jun 2022 13:17:05 +0200 Subject: [PATCH] Update unicode_smilies.php The plain ASCII emoticons are not enclosed by a : --- unicode_smilies/unicode_smilies.php | 46 ++++++++++++++--------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/unicode_smilies/unicode_smilies.php b/unicode_smilies/unicode_smilies.php index d9636d89..3bc47e5b 100644 --- a/unicode_smilies/unicode_smilies.php +++ b/unicode_smilies/unicode_smilies.php @@ -14,30 +14,30 @@ function unicode_smilies_install() { } function unicode_smilies_smilies(&$a,&$b) { - Smilies::add($b, ':-):', '😀'); - Smilies::add($b, ':):', '😀'); - Smilies::add($b, ':-(:', '🙁'); - Smilies::add($b, ':(:', '🙁'); - Smilies::add($b, ':-[:', '😳'); - Smilies::add($b, ':-D:', '😁'); - Smilies::add($b, ':D:', '😁'); - Smilies::add($b, ';-):', '😉'); - // Smilies::add($b, ';):', '😉'); // Deactivated since this leads to disturbed html entities - Smilies::add($b, ':-P:', '😛'); - Smilies::add($b, ':-p:', '😛'); - Smilies::add($b, ':P:', '😛'); - Smilies::add($b, ':p:', '😛'); - Smilies::add($b, ':-O:', '😮'); - Smilies::add($b, ':O:', '😮'); - Smilies::add($b, ':-X:', '🤐'); - Smilies::add($b, ':-x:', '🤐'); - Smilies::add($b, ':X:', '🤐'); - Smilies::add($b, ':x:', '🤐'); - Smilies::add($b, '8-):', '😎'); - Smilies::add($b, ':-/:', '😕'); - Smilies::add($b, ':-":', '💏'); + Smilies::add($b, ':-)', '😀'); + Smilies::add($b, ':)', '😀'); + Smilies::add($b, ':-(', '🙁'); + Smilies::add($b, ':(', '🙁'); + Smilies::add($b, ':-[', '😳'); + Smilies::add($b, ':-D', '😁'); + Smilies::add($b, ':D', '😁'); + Smilies::add($b, ';-)', '😉'); + // Smilies::add($b, ';)', '😉'); // Deactivated since this leads to disturbed html entities + Smilies::add($b, ':-P', '😛'); + Smilies::add($b, ':-p', '😛'); + Smilies::add($b, ':P', '😛'); + Smilies::add($b, ':p', '😛'); + Smilies::add($b, ':-O', '😮'); + Smilies::add($b, ':O', '😮'); + Smilies::add($b, ':-X', '🤐'); + Smilies::add($b, ':-x', '🤐'); + Smilies::add($b, ':X', '🤐'); + Smilies::add($b, ':x', '🤐'); + Smilies::add($b, '8-)', '😎'); + Smilies::add($b, ':-/', '😕'); + Smilies::add($b, ':-"', '💏'); Smilies::add($b, ':-"', '💏'); - Smilies::add($b, ':-!:', '🤒'); + Smilies::add($b, ':-!', '🤒'); Smilies::add($b, '<3', '❤'); Smilies::add($b, '</3', '💔'); Smilies::add($b, '<\\3', '💔');