aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/textformatter
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-08-05 20:18:50 +0200
committerMarc Alexander <admin@m-a-styles.de>2016-08-05 20:18:50 +0200
commit801183a99bc11498840fde44d1f9a4de1d60cd67 (patch)
treee8cea8ddbb2e987dd1505728b1f213c0f01c97cf /phpBB/phpbb/textformatter
parentc9ada4d2019356e948c93b34a9c8530fd5a0f90d (diff)
parent9225a0fdffdd5830e2f87ec964a90d26576b812b (diff)
downloadforums-801183a99bc11498840fde44d1f9a4de1d60cd67.tar
forums-801183a99bc11498840fde44d1f9a4de1d60cd67.tar.gz
forums-801183a99bc11498840fde44d1f9a4de1d60cd67.tar.bz2
forums-801183a99bc11498840fde44d1f9a4de1d60cd67.tar.xz
forums-801183a99bc11498840fde44d1f9a4de1d60cd67.zip
Merge pull request #4401 from JoshyPHP/ticket/14734
[ticket/14734] Use SVG emoji
Diffstat (limited to 'phpBB/phpbb/textformatter')
-rw-r--r--phpBB/phpbb/textformatter/s9e/factory.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/phpbb/textformatter/s9e/factory.php b/phpBB/phpbb/textformatter/s9e/factory.php
index 916fdff909..f62daefdd9 100644
--- a/phpBB/phpbb/textformatter/s9e/factory.php
+++ b/phpBB/phpbb/textformatter/s9e/factory.php
@@ -349,6 +349,7 @@ class factory implements \phpbb\textformatter\cache_interface
// Load the Emoji plugin and modify its tag's template to obey viewsmilies
$configurator->Emoji->setImageSize(18);
+ $configurator->Emoji->useSVG();
$tag = $configurator->Emoji->getTag();
$tag->template = '<xsl:choose><xsl:when test="$S_VIEWSMILIES">' . str_replace('class="emoji"', 'class="smilies"', $tag->template) . '</xsl:when><xsl:otherwise><xsl:value-of select="."/></xsl:otherwise></xsl:choose>';