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