From 3fe200ffab88a252f3e7278c963843c3c62f0d55 Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 26 Jan 2020 16:36:12 +0000 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20make=20emoji=20accessible=20for?= =?UTF-8?q?=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Models/Note.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/Models/Note.php b/app/Models/Note.php index d4b09dc0..344216a7 100644 --- a/app/Models/Note.php +++ b/app/Models/Note.php @@ -16,7 +16,6 @@ use Illuminate\Database\Eloquent\Relations\BelongsToMany; use Illuminate\Database\Eloquent\Relations\HasMany; use Illuminate\Database\Eloquent\Relations\MorphMany; use Illuminate\Database\Eloquent\SoftDeletes; -use Jonnybarnes\EmojiA11y\EmojiModifier; use Jonnybarnes\IndieWeb\Numbers; use Laravel\Scout\Searchable; use League\CommonMark\Block\Element\FencedCode; @@ -180,9 +179,8 @@ class Note extends Model $hcards = $this->makeHCards($value); $hashtags = $this->autoLinkHashtag($hcards); $html = $this->convertMarkdown($hashtags); - $modified = resolve(EmojiModifier::class)->makeEmojiAccessible($html); - return $modified; + return $html; } /**