mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Support for IDs in toGlyph()
This commit is contained in:
@@ -3310,8 +3310,10 @@ class e_parser
|
||||
$size = '';
|
||||
|
||||
}
|
||||
|
||||
$idAtt = (!empty($parm['id'])) ? "id='".$parm['id']."' " : '';
|
||||
|
||||
$text = "<".$tag." class='".$prefix.$id.$size.$spin.$rotate."'></".$tag.">" ;
|
||||
$text = "<".$tag." {$idAtt}class='".$prefix.$id.$size.$spin.$rotate."'></".$tag.">" ;
|
||||
$text .= ($space !== false) ? $space : "";
|
||||
|
||||
return $text;
|
||||
|
Reference in New Issue
Block a user