aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2018-09-09 23:07:47 +0200
committerThomas Lange <code@nerdmind.de>2018-09-09 23:15:48 +0200
commit6083199afe1a8092db92f46cc8e1fd00187a527c (patch)
treefba69b04745de8687d5f41b597743126c628b645
parent5cf59f6700c4ea73932b68b0afeb0aa5f2a3e9ca (diff)
downloadblog-6083199afe1a8092db92f46cc8e1fd00187a527c.tar.gz
blog-6083199afe1a8092db92f46cc8e1fd00187a527c.tar.xz
blog-6083199afe1a8092db92f46cc8e1fd00187a527c.zip
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.
-rw-r--r--core/namespace/Item.php1
1 files changed, 1 insertions, 0 deletions
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);
}