From 84550d7390d8d10a3fd1784484116a5550753478 Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 3 Feb 2016 13:48:35 -0800 Subject: [PATCH] Support for HTML/CSS sprites in toIcon() method. --- e107_handlers/e_parse_class.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 764e48082..0aaf94358 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -3062,6 +3062,9 @@ class e_parser */ public function toGlyph($text, $space=" ") { + + + if(!deftrue('BOOTSTRAP') || empty($text)) { return false; @@ -3222,6 +3225,11 @@ class e_parser { return; } + + if(substr($icon,0,3) == '