From 0cd53814359fc0ea2347c833eb0337a5e94e6e50 Mon Sep 17 00:00:00 2001 From: Cameron Date: Wed, 10 Feb 2021 02:57:43 -0800 Subject: [PATCH] Fix theme shortcode login menu icons --- e107_tests/tests/unit/e_parse_shortcodeTest.php | 8 ++++++++ e107_themes/bootstrap3/theme_shortcodes.php | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/e107_tests/tests/unit/e_parse_shortcodeTest.php b/e107_tests/tests/unit/e_parse_shortcodeTest.php index a832f1078..e5ea4160f 100644 --- a/e107_tests/tests/unit/e_parse_shortcodeTest.php +++ b/e107_tests/tests/unit/e_parse_shortcodeTest.php @@ -1613,6 +1613,14 @@ class e_parse_shortcodeTest extends \Codeception\Test\Unit } + public function testGlyphShortcode() + { + $tp = e107::getParser(); + $result = $tp->parseTemplate('{GLYPH=fa-user}'); + $this->assertSame("", $result); + + } + public function testAddonShortcodes() { diff --git a/e107_themes/bootstrap3/theme_shortcodes.php b/e107_themes/bootstrap3/theme_shortcodes.php index 2021b7572..285f76ebf 100644 --- a/e107_themes/bootstrap3/theme_shortcodes.php +++ b/e107_themes/bootstrap3/theme_shortcodes.php @@ -255,20 +255,20 @@ class theme_shortcodes extends e_shortcode