mirror of
https://github.com/e107inc/e107.git
synced 2025-08-13 01:54:12 +02:00
Added option for themes to load only the css or js portion of a library via theme.xml attribute. See bootstrap5/theme.xml for an example.
Empty comments in glyphs removed due to conflict with Fontawesome JS. Tests updated.
This commit is contained in:
@@ -513,7 +513,7 @@ class e_parse_shortcodeTest extends \Codeception\Test\Unit
|
||||
'=extended' => '<!-- bbcode-html-start --><p><strong>Extended Body</strong></p><!-- bbcode-html-end -->',
|
||||
),
|
||||
'newscommentlink' => array(
|
||||
': class=me' => "<a title='0 Comments' class='e-tip me' href='".e107::url('news/view/item', ['news_id'=>1, 'news_sef'=>'welcome-to-e107-me-again-x'])."'><i class='fas fa-comment' ><!-- --></i></a>"
|
||||
': class=me' => "<a title='0 Comments' class='e-tip me' href='".e107::url('news/view/item', ['news_id'=>1, 'news_sef'=>'welcome-to-e107-me-again-x'])."'><i class='fas fa-comment' ></i></a>"
|
||||
|
||||
),
|
||||
|
||||
@@ -1726,7 +1726,7 @@ class e_parse_shortcodeTest extends \Codeception\Test\Unit
|
||||
{
|
||||
$tp = e107::getParser();
|
||||
$result = $tp->parseTemplate('{GLYPH=fa-user}');
|
||||
$this->assertSame("<i class='fas fa-user' ><!-- --></i>", $result);
|
||||
$this->assertSame("<i class='fas fa-user' ></i>", $result);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user