mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
Support for IDs in toGlyph()
This commit is contained in:
@@ -3310,8 +3310,10 @@ class e_parser
|
|||||||
$size = '';
|
$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 : "";
|
$text .= ($space !== false) ? $space : "";
|
||||||
|
|
||||||
return $text;
|
return $text;
|
||||||
|
Reference in New Issue
Block a user