diff options
author | Thomas Lange <code@nerdmind.de> | 2018-09-09 23:07:47 +0200 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2018-09-09 23:15:48 +0200 |
commit | 6083199afe1a8092db92f46cc8e1fd00187a527c (patch) | |
tree | fba69b04745de8687d5f41b597743126c628b645 /core | |
parent | 5cf59f6700c4ea73932b68b0afeb0aa5f2a3e9ca (diff) | |
download | blog-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.
Diffstat (limited to 'core')
-rw-r--r-- | core/namespace/Item.php | 1 |
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); } |