From 6083199afe1a8092db92f46cc8e1fd00187a527c Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sun, 9 Sep 2018 23:07:47 +0200 Subject: Use function "parseUnicodeEmoticons" We will now use this function (in addition to "parseEmoticons") to parse already UTF-8 encoded unicode emoticons (instead of the ASCII emoticons for which "parseEmoticons" is responsible) from the markdown content. --- core/namespace/Item.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/namespace/Item.php b/core/namespace/Item.php index d21a4d6..c009740 100644 --- a/core/namespace/Item.php +++ b/core/namespace/Item.php @@ -85,6 +85,7 @@ abstract class Item implements ItemInterface { $content = $this->getBody(); if(\Application::get($item::CONFIGURATION.'.EMOTICONS') === TRUE) { + $content = parseUnicodeEmoticons($content); $content = parseEmoticons($content); } -- cgit v1.2.3