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