mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 17:01:43 +02:00
Tweaked for consistency with toGlyph().
This commit is contained in:
@@ -173,7 +173,8 @@ class social_shortcodes extends e_shortcode
|
|||||||
|
|
||||||
if($ret = file_get_contents($path))
|
if($ret = file_get_contents($path))
|
||||||
{
|
{
|
||||||
return $ret;
|
$class = 'fa-'.$this->var['id'];
|
||||||
|
return str_replace('<svg', '<svg class="'.$class.'" role="img" ', $ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user