mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 12:41:51 +02:00
Support for IDs in toGlyph()
This commit is contained in:
parent
84ed4705a1
commit
3cfeb987af
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user